@ar.io/sdk 3.24.0 → 4.0.0-solana.10
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 +143 -23
- package/lib/esm/cli/cli.js +200 -40
- package/lib/esm/cli/commands/antCommands.js +40 -14
- package/lib/esm/cli/commands/arnsPurchaseCommands.js +46 -7
- package/lib/esm/cli/commands/escrowCommands.js +208 -0
- package/lib/esm/cli/commands/gatewayWriteCommands.js +132 -22
- package/lib/esm/cli/commands/pruneCommands.js +166 -0
- package/lib/esm/cli/commands/readCommands.js +10 -2
- package/lib/esm/cli/commands/transfer.js +6 -6
- package/lib/esm/cli/options.js +141 -2
- package/lib/esm/cli/utils.js +280 -39
- package/lib/esm/common/ant-registry.js +25 -3
- package/lib/esm/common/ant.js +50 -5
- package/lib/esm/common/contracts/ao-process.js +4 -6
- package/lib/esm/common/io.js +41 -0
- package/lib/esm/common/marketplace.js +24 -79
- package/lib/esm/constants.js +13 -1
- package/lib/esm/solana/ant-readable.js +387 -0
- package/lib/esm/solana/ant-registry-readable.js +118 -0
- package/lib/esm/solana/ant-registry-writeable.js +457 -0
- package/lib/esm/solana/ant-writeable.js +352 -0
- package/lib/esm/solana/ata.js +55 -0
- package/lib/esm/solana/canonical-message.js +92 -0
- package/lib/esm/solana/clusters.js +62 -0
- package/lib/esm/solana/constants.js +130 -0
- package/lib/esm/solana/delegation-math.js +63 -0
- package/lib/esm/solana/deserialize.js +1182 -0
- package/lib/esm/solana/escrow.js +797 -0
- package/lib/esm/solana/events.js +210 -0
- package/lib/esm/solana/funding-plan.js +682 -0
- package/lib/esm/solana/generated/ant/events/aclEntryAddedEvent.js +21 -0
- package/lib/esm/solana/generated/ant/events/aclEntryRemovedEvent.js +21 -0
- package/lib/esm/solana/generated/ant/events/antMetadataUpdatedEvent.js +21 -0
- package/lib/esm/solana/generated/ant/events/antReconciledEvent.js +21 -0
- package/lib/esm/solana/generated/ant/events/antTransferredEvent.js +21 -0
- package/lib/esm/solana/generated/ant/events/attributesClearedEvent.js +21 -0
- package/lib/esm/solana/generated/ant/events/attributesSyncedEvent.js +21 -0
- package/lib/esm/solana/generated/ant/events/controllerAddedEvent.js +21 -0
- package/lib/esm/solana/generated/ant/events/controllerRemovedEvent.js +21 -0
- package/lib/esm/solana/generated/ant/events/index.js +16 -0
- package/lib/esm/solana/generated/ant/events/recordMetadataPrunedEvent.js +21 -0
- package/lib/esm/solana/generated/ant/events/recordMetadataRemovedEvent.js +21 -0
- package/lib/esm/solana/generated/ant/events/recordMetadataUpdatedEvent.js +21 -0
- package/lib/esm/solana/generated/ant/events/recordRemovedEvent.js +21 -0
- package/lib/esm/solana/generated/ant/events/recordSetEvent.js +21 -0
- package/lib/esm/solana/generated/ant/events/recordTransferredEvent.js +21 -0
- package/lib/esm/solana/generated/ant-escrow/events/escrowCancelledEvent.js +21 -0
- package/lib/esm/solana/generated/ant-escrow/events/escrowClaimedEvent.js +21 -0
- package/lib/esm/solana/generated/ant-escrow/events/escrowDepositedEvent.js +21 -0
- package/lib/esm/solana/generated/ant-escrow/events/escrowRecipientUpdatedEvent.js +21 -0
- package/lib/esm/solana/generated/ant-escrow/events/index.js +5 -0
- package/lib/esm/solana/generated/arns/events/demandFactorUpdatedEvent.js +21 -0
- package/lib/esm/solana/generated/arns/events/index.js +13 -0
- package/lib/esm/solana/generated/arns/events/leaseExtendedEvent.js +21 -0
- package/lib/esm/solana/generated/arns/events/namePurchasedEvent.js +21 -0
- package/lib/esm/solana/generated/arns/events/nameReassignedEvent.js +21 -0
- package/lib/esm/solana/generated/arns/events/nameReleasedEvent.js +21 -0
- package/lib/esm/solana/generated/arns/events/nameReservedEvent.js +21 -0
- package/lib/esm/solana/generated/arns/events/nameUnreservedEvent.js +21 -0
- package/lib/esm/solana/generated/arns/events/nameUpgradedEvent.js +21 -0
- package/lib/esm/solana/generated/arns/events/namesPrunedEvent.js +21 -0
- package/lib/esm/solana/generated/arns/events/reservedNameClaimedEvent.js +21 -0
- package/lib/esm/solana/generated/arns/events/returnedNamePurchasedEvent.js +21 -0
- package/lib/esm/solana/generated/arns/events/undernameIncreasedEvent.js +21 -0
- package/lib/esm/solana/generated/core/events/configUpdatedEvent.js +21 -0
- package/lib/esm/solana/generated/core/events/coreMigrationFinalizedEvent.js +21 -0
- package/lib/esm/solana/generated/core/events/index.js +14 -0
- package/lib/esm/solana/generated/core/events/primaryNameRemovedEvent.js +21 -0
- package/lib/esm/solana/generated/core/events/primaryNameRequestExpiredEvent.js +21 -0
- package/lib/esm/solana/generated/core/events/primaryNameRequestedEvent.js +21 -0
- package/lib/esm/solana/generated/core/events/primaryNameSetEvent.js +21 -0
- package/lib/esm/solana/generated/core/events/supplyFinalizedEvent.js +21 -0
- package/lib/esm/solana/generated/core/events/transferEvent.js +21 -0
- package/lib/esm/solana/generated/core/events/vaultCreatedEvent.js +21 -0
- package/lib/esm/solana/generated/core/events/vaultExtendedEvent.js +21 -0
- package/lib/esm/solana/generated/core/events/vaultIncreasedEvent.js +21 -0
- package/lib/esm/solana/generated/core/events/vaultReleasedEvent.js +21 -0
- package/lib/esm/solana/generated/core/events/vaultRevokedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/allowlistToggledEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/delegateAllowlistedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/delegationClosedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/delegationDecreasedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/delegationEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/epochClosedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/epochCreatedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/epochDistributedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/epochPrescribedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/epochWeightsTalliedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/epochsToggledEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/fundingPlanAppliedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/garMigrationFinalizedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/gatewayFinalizedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/gatewayJoinedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/gatewayLeavingEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/gatewayPrunedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/gatewaySettingsUpdatedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/index.js +31 -0
- package/lib/esm/solana/generated/gar/events/instantWithdrawalEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/observationSubmittedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/observerAddressUpdatedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/operatorStakeIncreasedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/redelegationEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/residueVaultCreatedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/rewardsCompoundedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/stakePaymentEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/withdrawalCancelledEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/withdrawalClaimedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/withdrawalCreatedEvent.js +21 -0
- package/lib/esm/solana/generated/gar/events/withdrawalPaymentEvent.js +21 -0
- package/lib/esm/solana/generated/mpl-core/accounts/assetV1.js +42 -0
- package/lib/esm/solana/generated/mpl-core/accounts/collectionV1.js +42 -0
- package/lib/esm/solana/generated/mpl-core/accounts/hashedAssetV1.js +45 -0
- package/lib/esm/solana/generated/mpl-core/accounts/index.js +12 -0
- package/lib/esm/solana/generated/mpl-core/accounts/pluginHeaderV1.js +45 -0
- package/lib/esm/solana/generated/mpl-core/accounts/pluginRegistryV1.js +42 -0
- package/lib/esm/solana/generated/mpl-core/errors/index.js +8 -0
- package/lib/esm/solana/generated/mpl-core/errors/mplCore.js +136 -0
- package/lib/esm/solana/generated/mpl-core/index.js +8 -0
- package/lib/esm/solana/generated/mpl-core/instructions/addCollectionExternalPluginAdapterV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/addCollectionPluginV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/addExternalPluginAdapterV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/addPluginV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/approveCollectionPluginAuthorityV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/approvePluginAuthorityV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/burnCollectionV1.js +49 -0
- package/lib/esm/solana/generated/mpl-core/instructions/burnV1.js +49 -0
- package/lib/esm/solana/generated/mpl-core/instructions/collect.js +42 -0
- package/lib/esm/solana/generated/mpl-core/instructions/compressV1.js +50 -0
- package/lib/esm/solana/generated/mpl-core/instructions/createCollectionV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/createCollectionV2.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/createV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/createV2.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/decompressV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/executeV1.js +56 -0
- package/lib/esm/solana/generated/mpl-core/instructions/index.js +40 -0
- package/lib/esm/solana/generated/mpl-core/instructions/removeCollectionExternalPluginAdapterV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/removeCollectionPluginV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/removeExternalPluginAdapterV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/removePluginV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/revokeCollectionPluginAuthorityV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/revokePluginAuthorityV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/transferV1.js +49 -0
- package/lib/esm/solana/generated/mpl-core/instructions/updateCollectionExternalPluginAdapterV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/updateCollectionInfoV1.js +45 -0
- package/lib/esm/solana/generated/mpl-core/instructions/updateCollectionPluginV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/updateCollectionV1.js +52 -0
- package/lib/esm/solana/generated/mpl-core/instructions/updateExternalPluginAdapterV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/updatePluginV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/updateV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/updateV2.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/writeCollectionExternalPluginAdapterDataV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/instructions/writeExternalPluginAdapterDataV1.js +53 -0
- package/lib/esm/solana/generated/mpl-core/program-address.js +1 -0
- package/lib/esm/solana/generated/mpl-core/types/addAssetsToGroupV1Args.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/addBlocker.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/addCollectionsToGroupV1Args.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/addGroupsToGroupV1Args.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/agentIdentity.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/agentIdentityInitInfo.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/agentIdentityUpdateInfo.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/appData.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/appDataInitInfo.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/appDataUpdateInfo.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/attribute.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/attributes.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/authority.js +24 -0
- package/lib/esm/solana/generated/mpl-core/types/autograph.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/autographSignature.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/bubblegumV2.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/burnDelegate.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/closeGroupV1Args.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/compressionProof.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/creator.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/dataSection.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/dataSectionInitInfo.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/dataSectionUpdateInfo.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/dataState.js +23 -0
- package/lib/esm/solana/generated/mpl-core/types/edition.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/externalCheckResult.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapter.js +25 -0
- package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterInitInfo.js +25 -0
- package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterKey.js +25 -0
- package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterSchema.js +24 -0
- package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterType.js +28 -0
- package/lib/esm/solana/generated/mpl-core/types/externalPluginAdapterUpdateInfo.js +25 -0
- package/lib/esm/solana/generated/mpl-core/types/externalRegistryRecord.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/externalValidationResult.js +24 -0
- package/lib/esm/solana/generated/mpl-core/types/extraAccount.js +25 -0
- package/lib/esm/solana/generated/mpl-core/types/freezeDelegate.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/freezeExecute.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/groups.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/hashablePluginSchema.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/hashedAssetSchema.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/hookableLifecycleEvent.js +26 -0
- package/lib/esm/solana/generated/mpl-core/types/immutableMetadata.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/index.js +89 -0
- package/lib/esm/solana/generated/mpl-core/types/key.js +28 -0
- package/lib/esm/solana/generated/mpl-core/types/lifecycleHook.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/lifecycleHookInitInfo.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/lifecycleHookUpdateInfo.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/linkedAppData.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/linkedAppDataInitInfo.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/linkedAppDataUpdateInfo.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/linkedDataKey.js +25 -0
- package/lib/esm/solana/generated/mpl-core/types/linkedLifecycleHook.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/linkedLifecycleHookInitInfo.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/linkedLifecycleHookUpdateInfo.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/masterEdition.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/oracle.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/oracleInitInfo.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/oracleUpdateInfo.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/oracleValidation.js +25 -0
- package/lib/esm/solana/generated/mpl-core/types/permanentBurnDelegate.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/permanentFreezeDelegate.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/permanentFreezeExecute.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/permanentTransferDelegate.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/plugin.js +25 -0
- package/lib/esm/solana/generated/mpl-core/types/pluginAuthorityPair.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/pluginType.js +40 -0
- package/lib/esm/solana/generated/mpl-core/types/registryRecord.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/relationshipKind.js +25 -0
- package/lib/esm/solana/generated/mpl-core/types/removeAssetsFromGroupV1Args.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/removeCollectionsFromGroupV1Args.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/removeGroupsFromGroupV1Args.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/royalties.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/ruleSet.js +24 -0
- package/lib/esm/solana/generated/mpl-core/types/seed.js +24 -0
- package/lib/esm/solana/generated/mpl-core/types/transferDelegate.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/updateAuthority.js +24 -0
- package/lib/esm/solana/generated/mpl-core/types/updateDelegate.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/updateGroupV1Args.js +17 -0
- package/lib/esm/solana/generated/mpl-core/types/updateType.js +24 -0
- package/lib/esm/solana/generated/mpl-core/types/validationResult.js +25 -0
- package/lib/esm/solana/generated/mpl-core/types/validationResultsOffset.js +24 -0
- package/lib/esm/solana/generated/mpl-core/types/verifiedCreators.js +18 -0
- package/lib/esm/solana/generated/mpl-core/types/verifiedCreatorsSignature.js +17 -0
- package/lib/esm/solana/index.js +85 -0
- package/lib/esm/solana/instruction.js +24 -0
- package/lib/esm/solana/io-readable.js +1752 -0
- package/lib/esm/solana/io-writeable.js +2215 -0
- package/lib/esm/solana/json-rpc.js +74 -0
- package/lib/esm/solana/metadata.js +66 -0
- package/lib/esm/solana/mpl-core.js +142 -0
- package/lib/esm/solana/pda.js +317 -0
- package/lib/esm/solana/send.js +117 -0
- package/lib/esm/solana/spawn-ant.js +210 -0
- package/lib/esm/solana/types.js +1 -0
- package/lib/esm/types/ant.js +19 -7
- package/lib/esm/types/io.js +8 -1
- package/lib/esm/utils/ant.js +1 -0
- package/lib/esm/utils/ao.js +1 -0
- package/lib/esm/version.js +1 -1
- package/lib/types/cli/commands/antCommands.d.ts +2 -7
- package/lib/types/cli/commands/arnsPurchaseCommands.d.ts +12 -0
- package/lib/types/cli/commands/escrowCommands.d.ts +62 -0
- package/lib/types/cli/commands/pruneCommands.d.ts +31 -0
- package/lib/types/cli/commands/readCommands.d.ts +2 -0
- package/lib/types/cli/options.d.ts +112 -0
- package/lib/types/cli/types.d.ts +6 -0
- package/lib/types/cli/utils.d.ts +43 -5
- package/lib/types/common/ant-registry.d.ts +41 -0
- package/lib/types/common/ant.d.ts +35 -2
- package/lib/types/common/contracts/ao-process.d.ts +2 -16
- package/lib/types/common/io.d.ts +42 -2
- package/lib/types/common/marketplace.d.ts +2 -14
- package/lib/types/constants.d.ts +11 -1
- package/lib/types/solana/ant-readable.d.ts +121 -0
- package/lib/types/solana/ant-registry-readable.d.ts +90 -0
- package/lib/types/solana/ant-registry-writeable.d.ts +234 -0
- package/lib/types/solana/ant-writeable.d.ts +162 -0
- package/lib/types/solana/ata.d.ts +29 -0
- package/lib/types/solana/canonical-message.d.ts +82 -0
- package/lib/types/solana/clusters.d.ts +62 -0
- package/lib/types/solana/constants.d.ts +103 -0
- package/lib/types/solana/delegation-math.d.ts +20 -0
- package/lib/types/solana/deserialize.d.ts +440 -0
- package/lib/types/solana/escrow.d.ts +403 -0
- package/lib/types/solana/events.d.ts +156 -0
- package/lib/types/solana/funding-plan.d.ts +210 -0
- package/lib/types/solana/generated/ant/events/aclEntryAddedEvent.d.ts +26 -0
- package/lib/types/solana/generated/ant/events/aclEntryRemovedEvent.d.ts +26 -0
- package/lib/types/solana/generated/ant/events/antMetadataUpdatedEvent.d.ts +28 -0
- package/lib/types/solana/generated/ant/events/antReconciledEvent.d.ts +28 -0
- package/lib/types/solana/generated/ant/events/antTransferredEvent.d.ts +26 -0
- package/lib/types/solana/generated/ant/events/attributesClearedEvent.d.ts +26 -0
- package/lib/types/solana/generated/ant/events/attributesSyncedEvent.d.ts +24 -0
- package/lib/types/solana/generated/ant/events/controllerAddedEvent.d.ts +26 -0
- package/lib/types/solana/generated/ant/events/controllerRemovedEvent.d.ts +26 -0
- package/lib/types/solana/generated/ant/events/index.d.ts +15 -0
- package/lib/types/solana/generated/ant/events/recordMetadataPrunedEvent.d.ts +26 -0
- package/lib/types/solana/generated/ant/events/recordMetadataRemovedEvent.d.ts +26 -0
- package/lib/types/solana/generated/ant/events/recordMetadataUpdatedEvent.d.ts +28 -0
- package/lib/types/solana/generated/ant/events/recordRemovedEvent.d.ts +26 -0
- package/lib/types/solana/generated/ant/events/recordSetEvent.d.ts +34 -0
- package/lib/types/solana/generated/ant/events/recordTransferredEvent.d.ts +30 -0
- package/lib/types/solana/generated/ant-escrow/events/escrowCancelledEvent.d.ts +28 -0
- package/lib/types/solana/generated/ant-escrow/events/escrowClaimedEvent.d.ts +32 -0
- package/lib/types/solana/generated/ant-escrow/events/escrowDepositedEvent.d.ts +36 -0
- package/lib/types/solana/generated/ant-escrow/events/escrowRecipientUpdatedEvent.d.ts +26 -0
- package/lib/types/solana/generated/ant-escrow/events/index.d.ts +4 -0
- package/lib/types/solana/generated/arns/events/demandFactorUpdatedEvent.d.ts +28 -0
- package/lib/types/solana/generated/arns/events/index.d.ts +12 -0
- package/lib/types/solana/generated/arns/events/leaseExtendedEvent.d.ts +32 -0
- package/lib/types/solana/generated/arns/events/namePurchasedEvent.d.ts +34 -0
- package/lib/types/solana/generated/arns/events/nameReassignedEvent.d.ts +28 -0
- package/lib/types/solana/generated/arns/events/nameReleasedEvent.d.ts +24 -0
- package/lib/types/solana/generated/arns/events/nameReservedEvent.d.ts +28 -0
- package/lib/types/solana/generated/arns/events/nameUnreservedEvent.d.ts +24 -0
- package/lib/types/solana/generated/arns/events/nameUpgradedEvent.d.ts +28 -0
- package/lib/types/solana/generated/arns/events/namesPrunedEvent.d.ts +26 -0
- package/lib/types/solana/generated/arns/events/reservedNameClaimedEvent.d.ts +24 -0
- package/lib/types/solana/generated/arns/events/returnedNamePurchasedEvent.d.ts +32 -0
- package/lib/types/solana/generated/arns/events/undernameIncreasedEvent.d.ts +32 -0
- package/lib/types/solana/generated/core/events/configUpdatedEvent.d.ts +26 -0
- package/lib/types/solana/generated/core/events/coreMigrationFinalizedEvent.d.ts +26 -0
- package/lib/types/solana/generated/core/events/index.d.ts +13 -0
- package/lib/types/solana/generated/core/events/primaryNameRemovedEvent.d.ts +26 -0
- package/lib/types/solana/generated/core/events/primaryNameRequestExpiredEvent.d.ts +26 -0
- package/lib/types/solana/generated/core/events/primaryNameRequestedEvent.d.ts +30 -0
- package/lib/types/solana/generated/core/events/primaryNameSetEvent.d.ts +24 -0
- package/lib/types/solana/generated/core/events/supplyFinalizedEvent.d.ts +26 -0
- package/lib/types/solana/generated/core/events/transferEvent.d.ts +26 -0
- package/lib/types/solana/generated/core/events/vaultCreatedEvent.d.ts +28 -0
- package/lib/types/solana/generated/core/events/vaultExtendedEvent.d.ts +26 -0
- package/lib/types/solana/generated/core/events/vaultIncreasedEvent.d.ts +28 -0
- package/lib/types/solana/generated/core/events/vaultReleasedEvent.d.ts +26 -0
- package/lib/types/solana/generated/core/events/vaultRevokedEvent.d.ts +28 -0
- package/lib/types/solana/generated/gar/events/allowlistToggledEvent.d.ts +24 -0
- package/lib/types/solana/generated/gar/events/delegateAllowlistedEvent.d.ts +26 -0
- package/lib/types/solana/generated/gar/events/delegationClosedEvent.d.ts +24 -0
- package/lib/types/solana/generated/gar/events/delegationDecreasedEvent.d.ts +28 -0
- package/lib/types/solana/generated/gar/events/delegationEvent.d.ts +28 -0
- package/lib/types/solana/generated/gar/events/epochClosedEvent.d.ts +24 -0
- package/lib/types/solana/generated/gar/events/epochCreatedEvent.d.ts +26 -0
- package/lib/types/solana/generated/gar/events/epochDistributedEvent.d.ts +26 -0
- package/lib/types/solana/generated/gar/events/epochPrescribedEvent.d.ts +28 -0
- package/lib/types/solana/generated/gar/events/epochWeightsTalliedEvent.d.ts +26 -0
- package/lib/types/solana/generated/gar/events/epochsToggledEvent.d.ts +24 -0
- package/lib/types/solana/generated/gar/events/fundingPlanAppliedEvent.d.ts +28 -0
- package/lib/types/solana/generated/gar/events/garMigrationFinalizedEvent.d.ts +26 -0
- package/lib/types/solana/generated/gar/events/gatewayFinalizedEvent.d.ts +24 -0
- package/lib/types/solana/generated/gar/events/gatewayJoinedEvent.d.ts +26 -0
- package/lib/types/solana/generated/gar/events/gatewayLeavingEvent.d.ts +22 -0
- package/lib/types/solana/generated/gar/events/gatewayPrunedEvent.d.ts +26 -0
- package/lib/types/solana/generated/gar/events/gatewaySettingsUpdatedEvent.d.ts +24 -0
- package/lib/types/solana/generated/gar/events/index.d.ts +30 -0
- package/lib/types/solana/generated/gar/events/instantWithdrawalEvent.d.ts +30 -0
- package/lib/types/solana/generated/gar/events/observationSubmittedEvent.d.ts +28 -0
- package/lib/types/solana/generated/gar/events/observerAddressUpdatedEvent.d.ts +24 -0
- package/lib/types/solana/generated/gar/events/operatorStakeIncreasedEvent.d.ts +26 -0
- package/lib/types/solana/generated/gar/events/redelegationEvent.d.ts +30 -0
- package/lib/types/solana/generated/gar/events/residueVaultCreatedEvent.d.ts +30 -0
- package/lib/types/solana/generated/gar/events/rewardsCompoundedEvent.d.ts +26 -0
- package/lib/types/solana/generated/gar/events/stakePaymentEvent.d.ts +28 -0
- package/lib/types/solana/generated/gar/events/withdrawalCancelledEvent.d.ts +30 -0
- package/lib/types/solana/generated/gar/events/withdrawalClaimedEvent.d.ts +26 -0
- package/lib/types/solana/generated/gar/events/withdrawalCreatedEvent.d.ts +28 -0
- package/lib/types/solana/generated/gar/events/withdrawalPaymentEvent.d.ts +28 -0
- package/lib/types/solana/generated/mpl-core/accounts/assetV1.d.ts +37 -0
- package/lib/types/solana/generated/mpl-core/accounts/collectionV1.d.ts +37 -0
- package/lib/types/solana/generated/mpl-core/accounts/hashedAssetV1.d.ts +30 -0
- package/lib/types/solana/generated/mpl-core/accounts/index.d.ts +12 -0
- package/lib/types/solana/generated/mpl-core/accounts/pluginHeaderV1.d.ts +30 -0
- package/lib/types/solana/generated/mpl-core/accounts/pluginRegistryV1.d.ts +31 -0
- package/lib/types/solana/generated/mpl-core/errors/index.d.ts +8 -0
- package/lib/types/solana/generated/mpl-core/errors/mplCore.d.ts +133 -0
- package/lib/types/solana/generated/mpl-core/index.d.ts +8 -0
- package/lib/types/solana/generated/mpl-core/instructions/addCollectionExternalPluginAdapterV1.d.ts +56 -0
- package/lib/types/solana/generated/mpl-core/instructions/addCollectionPluginV1.d.ts +59 -0
- package/lib/types/solana/generated/mpl-core/instructions/addExternalPluginAdapterV1.d.ts +60 -0
- package/lib/types/solana/generated/mpl-core/instructions/addPluginV1.d.ts +63 -0
- package/lib/types/solana/generated/mpl-core/instructions/approveCollectionPluginAuthorityV1.d.ts +59 -0
- package/lib/types/solana/generated/mpl-core/instructions/approvePluginAuthorityV1.d.ts +63 -0
- package/lib/types/solana/generated/mpl-core/instructions/burnCollectionV1.d.ts +52 -0
- package/lib/types/solana/generated/mpl-core/instructions/burnV1.d.ts +60 -0
- package/lib/types/solana/generated/mpl-core/instructions/collect.d.ts +39 -0
- package/lib/types/solana/generated/mpl-core/instructions/compressV1.d.ts +55 -0
- package/lib/types/solana/generated/mpl-core/instructions/createCollectionV1.d.ts +58 -0
- package/lib/types/solana/generated/mpl-core/instructions/createCollectionV2.d.ts +61 -0
- package/lib/types/solana/generated/mpl-core/instructions/createV1.d.ts +77 -0
- package/lib/types/solana/generated/mpl-core/instructions/createV2.d.ts +80 -0
- package/lib/types/solana/generated/mpl-core/instructions/decompressV1.d.ts +60 -0
- package/lib/types/solana/generated/mpl-core/instructions/executeV1.d.ts +63 -0
- package/lib/types/solana/generated/mpl-core/instructions/index.d.ts +40 -0
- package/lib/types/solana/generated/mpl-core/instructions/removeCollectionExternalPluginAdapterV1.d.ts +56 -0
- package/lib/types/solana/generated/mpl-core/instructions/removeCollectionPluginV1.d.ts +56 -0
- package/lib/types/solana/generated/mpl-core/instructions/removeExternalPluginAdapterV1.d.ts +60 -0
- package/lib/types/solana/generated/mpl-core/instructions/removePluginV1.d.ts +60 -0
- package/lib/types/solana/generated/mpl-core/instructions/revokeCollectionPluginAuthorityV1.d.ts +56 -0
- package/lib/types/solana/generated/mpl-core/instructions/revokePluginAuthorityV1.d.ts +60 -0
- package/lib/types/solana/generated/mpl-core/instructions/transferV1.d.ts +64 -0
- package/lib/types/solana/generated/mpl-core/instructions/updateCollectionExternalPluginAdapterV1.d.ts +59 -0
- package/lib/types/solana/generated/mpl-core/instructions/updateCollectionInfoV1.d.ts +47 -0
- package/lib/types/solana/generated/mpl-core/instructions/updateCollectionPluginV1.d.ts +56 -0
- package/lib/types/solana/generated/mpl-core/instructions/updateCollectionV1.d.ts +62 -0
- package/lib/types/solana/generated/mpl-core/instructions/updateExternalPluginAdapterV1.d.ts +63 -0
- package/lib/types/solana/generated/mpl-core/instructions/updatePluginV1.d.ts +60 -0
- package/lib/types/solana/generated/mpl-core/instructions/updateV1.d.ts +66 -0
- package/lib/types/solana/generated/mpl-core/instructions/updateV2.d.ts +70 -0
- package/lib/types/solana/generated/mpl-core/instructions/writeCollectionExternalPluginAdapterDataV1.d.ts +63 -0
- package/lib/types/solana/generated/mpl-core/instructions/writeExternalPluginAdapterDataV1.d.ts +67 -0
- package/lib/types/solana/generated/mpl-core/program-address.d.ts +7 -0
- package/lib/types/solana/generated/mpl-core/types/addAssetsToGroupV1Args.d.ts +13 -0
- package/lib/types/solana/generated/mpl-core/types/addBlocker.d.ts +13 -0
- package/lib/types/solana/generated/mpl-core/types/addCollectionsToGroupV1Args.d.ts +13 -0
- package/lib/types/solana/generated/mpl-core/types/addGroupsToGroupV1Args.d.ts +15 -0
- package/lib/types/solana/generated/mpl-core/types/agentIdentity.d.ts +15 -0
- package/lib/types/solana/generated/mpl-core/types/agentIdentityInitInfo.d.ts +22 -0
- package/lib/types/solana/generated/mpl-core/types/agentIdentityUpdateInfo.d.ts +20 -0
- package/lib/types/solana/generated/mpl-core/types/appData.d.ts +20 -0
- package/lib/types/solana/generated/mpl-core/types/appDataInitInfo.d.ts +22 -0
- package/lib/types/solana/generated/mpl-core/types/appDataUpdateInfo.d.ts +18 -0
- package/lib/types/solana/generated/mpl-core/types/attribute.d.ts +16 -0
- package/lib/types/solana/generated/mpl-core/types/attributes.d.ts +18 -0
- package/lib/types/solana/generated/mpl-core/types/authority.d.ts +29 -0
- package/lib/types/solana/generated/mpl-core/types/autograph.d.ts +18 -0
- package/lib/types/solana/generated/mpl-core/types/autographSignature.d.ts +16 -0
- package/lib/types/solana/generated/mpl-core/types/bubblegumV2.d.ts +13 -0
- package/lib/types/solana/generated/mpl-core/types/burnDelegate.d.ts +13 -0
- package/lib/types/solana/generated/mpl-core/types/closeGroupV1Args.d.ts +13 -0
- package/lib/types/solana/generated/mpl-core/types/compressionProof.d.ts +28 -0
- package/lib/types/solana/generated/mpl-core/types/creator.d.ts +16 -0
- package/lib/types/solana/generated/mpl-core/types/dataSection.d.ts +20 -0
- package/lib/types/solana/generated/mpl-core/types/dataSectionInitInfo.d.ts +20 -0
- package/lib/types/solana/generated/mpl-core/types/dataSectionUpdateInfo.d.ts +13 -0
- package/lib/types/solana/generated/mpl-core/types/dataState.d.ts +16 -0
- package/lib/types/solana/generated/mpl-core/types/edition.d.ts +15 -0
- package/lib/types/solana/generated/mpl-core/types/externalCheckResult.d.ts +15 -0
- package/lib/types/solana/generated/mpl-core/types/externalPluginAdapter.d.ts +66 -0
- package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterInitInfo.d.ts +66 -0
- package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterKey.d.ts +64 -0
- package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterSchema.d.ts +17 -0
- package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterType.d.ts +21 -0
- package/lib/types/solana/generated/mpl-core/types/externalPluginAdapterUpdateInfo.d.ts +59 -0
- package/lib/types/solana/generated/mpl-core/types/externalRegistryRecord.d.ts +28 -0
- package/lib/types/solana/generated/mpl-core/types/externalValidationResult.d.ts +17 -0
- package/lib/types/solana/generated/mpl-core/types/extraAccount.d.ts +86 -0
- package/lib/types/solana/generated/mpl-core/types/freezeDelegate.d.ts +15 -0
- package/lib/types/solana/generated/mpl-core/types/freezeExecute.d.ts +15 -0
- package/lib/types/solana/generated/mpl-core/types/groups.d.ts +15 -0
- package/lib/types/solana/generated/mpl-core/types/hashablePluginSchema.d.ts +22 -0
- package/lib/types/solana/generated/mpl-core/types/hashedAssetSchema.d.ts +16 -0
- package/lib/types/solana/generated/mpl-core/types/hookableLifecycleEvent.d.ts +19 -0
- package/lib/types/solana/generated/mpl-core/types/immutableMetadata.d.ts +13 -0
- package/lib/types/solana/generated/mpl-core/types/index.d.ts +89 -0
- package/lib/types/solana/generated/mpl-core/types/key.d.ts +21 -0
- package/lib/types/solana/generated/mpl-core/types/lifecycleHook.d.ts +24 -0
- package/lib/types/solana/generated/mpl-core/types/lifecycleHookInitInfo.d.ts +28 -0
- package/lib/types/solana/generated/mpl-core/types/lifecycleHookUpdateInfo.d.ts +22 -0
- package/lib/types/solana/generated/mpl-core/types/linkedAppData.d.ts +20 -0
- package/lib/types/solana/generated/mpl-core/types/linkedAppDataInitInfo.d.ts +22 -0
- package/lib/types/solana/generated/mpl-core/types/linkedAppDataUpdateInfo.d.ts +18 -0
- package/lib/types/solana/generated/mpl-core/types/linkedDataKey.d.ts +31 -0
- package/lib/types/solana/generated/mpl-core/types/linkedLifecycleHook.d.ts +24 -0
- package/lib/types/solana/generated/mpl-core/types/linkedLifecycleHookInitInfo.d.ts +28 -0
- package/lib/types/solana/generated/mpl-core/types/linkedLifecycleHookUpdateInfo.d.ts +22 -0
- package/lib/types/solana/generated/mpl-core/types/masterEdition.d.ts +21 -0
- package/lib/types/solana/generated/mpl-core/types/oracle.d.ts +22 -0
- package/lib/types/solana/generated/mpl-core/types/oracleInitInfo.d.ts +26 -0
- package/lib/types/solana/generated/mpl-core/types/oracleUpdateInfo.d.ts +22 -0
- package/lib/types/solana/generated/mpl-core/types/oracleValidation.d.ts +35 -0
- package/lib/types/solana/generated/mpl-core/types/permanentBurnDelegate.d.ts +13 -0
- package/lib/types/solana/generated/mpl-core/types/permanentFreezeDelegate.d.ts +15 -0
- package/lib/types/solana/generated/mpl-core/types/permanentFreezeExecute.d.ts +15 -0
- package/lib/types/solana/generated/mpl-core/types/permanentTransferDelegate.d.ts +13 -0
- package/lib/types/solana/generated/mpl-core/types/plugin.d.ts +150 -0
- package/lib/types/solana/generated/mpl-core/types/pluginAuthorityPair.d.ts +20 -0
- package/lib/types/solana/generated/mpl-core/types/pluginType.d.ts +33 -0
- package/lib/types/solana/generated/mpl-core/types/registryRecord.d.ts +22 -0
- package/lib/types/solana/generated/mpl-core/types/relationshipKind.d.ts +18 -0
- package/lib/types/solana/generated/mpl-core/types/removeAssetsFromGroupV1Args.d.ts +15 -0
- package/lib/types/solana/generated/mpl-core/types/removeCollectionsFromGroupV1Args.d.ts +15 -0
- package/lib/types/solana/generated/mpl-core/types/removeGroupsFromGroupV1Args.d.ts +15 -0
- package/lib/types/solana/generated/mpl-core/types/royalties.d.ts +22 -0
- package/lib/types/solana/generated/mpl-core/types/ruleSet.d.ts +27 -0
- package/lib/types/solana/generated/mpl-core/types/seed.d.ts +36 -0
- package/lib/types/solana/generated/mpl-core/types/transferDelegate.d.ts +13 -0
- package/lib/types/solana/generated/mpl-core/types/updateAuthority.d.ts +27 -0
- package/lib/types/solana/generated/mpl-core/types/updateDelegate.d.ts +15 -0
- package/lib/types/solana/generated/mpl-core/types/updateGroupV1Args.d.ts +19 -0
- package/lib/types/solana/generated/mpl-core/types/updateType.d.ts +17 -0
- package/lib/types/solana/generated/mpl-core/types/validationResult.d.ts +18 -0
- package/lib/types/solana/generated/mpl-core/types/validationResultsOffset.d.ts +33 -0
- package/lib/types/solana/generated/mpl-core/types/verifiedCreators.d.ts +18 -0
- package/lib/types/solana/generated/mpl-core/types/verifiedCreatorsSignature.d.ts +16 -0
- package/lib/types/solana/index.d.ts +63 -0
- package/lib/types/solana/instruction.d.ts +24 -0
- package/lib/types/solana/io-readable.d.ts +360 -0
- package/lib/types/solana/io-writeable.d.ts +533 -0
- package/lib/types/solana/json-rpc.d.ts +32 -0
- package/lib/types/solana/metadata.d.ts +69 -0
- package/lib/types/solana/mpl-core.d.ts +76 -0
- package/lib/types/solana/pda.d.ts +95 -0
- package/lib/types/solana/send.d.ts +16 -0
- package/lib/types/solana/spawn-ant.d.ts +130 -0
- package/lib/types/solana/types.d.ts +67 -0
- package/lib/types/types/ant-registry.d.ts +39 -0
- package/lib/types/types/ant.d.ts +22 -4
- package/lib/types/types/io.d.ts +56 -1
- package/lib/types/version.d.ts +1 -1
- package/package.json +33 -16
- package/lib/cjs/cli/cli.js +0 -822
- package/lib/cjs/cli/commands/antCommands.js +0 -113
- package/lib/cjs/cli/commands/arnsPurchaseCommands.js +0 -212
- package/lib/cjs/cli/commands/gatewayWriteCommands.js +0 -210
- package/lib/cjs/cli/commands/readCommands.js +0 -215
- package/lib/cjs/cli/commands/transfer.js +0 -159
- package/lib/cjs/cli/options.js +0 -470
- package/lib/cjs/cli/types.js +0 -2
- package/lib/cjs/cli/utils.js +0 -639
- package/lib/cjs/common/ant-registry.js +0 -155
- package/lib/cjs/common/ant-versions.js +0 -93
- package/lib/cjs/common/ant.js +0 -1182
- package/lib/cjs/common/arweave.js +0 -27
- package/lib/cjs/common/contracts/ao-process.js +0 -224
- package/lib/cjs/common/error.js +0 -64
- package/lib/cjs/common/faucet.js +0 -150
- package/lib/cjs/common/hyperbeam/hb.js +0 -173
- package/lib/cjs/common/index.js +0 -42
- package/lib/cjs/common/io.js +0 -1423
- package/lib/cjs/common/logger.js +0 -83
- package/lib/cjs/common/loggers/winston.js +0 -68
- package/lib/cjs/common/marketplace.js +0 -731
- package/lib/cjs/common/turbo.js +0 -223
- package/lib/cjs/constants.js +0 -41
- package/lib/cjs/node/index.js +0 -39
- package/lib/cjs/package.json +0 -1
- package/lib/cjs/types/ant-registry.js +0 -2
- package/lib/cjs/types/ant.js +0 -168
- package/lib/cjs/types/common.js +0 -2
- package/lib/cjs/types/faucet.js +0 -2
- package/lib/cjs/types/index.js +0 -37
- package/lib/cjs/types/io.js +0 -51
- package/lib/cjs/types/token.js +0 -116
- package/lib/cjs/utils/ant.js +0 -108
- package/lib/cjs/utils/ao.js +0 -432
- package/lib/cjs/utils/arweave.js +0 -285
- package/lib/cjs/utils/base64.js +0 -62
- package/lib/cjs/utils/hash.js +0 -56
- package/lib/cjs/utils/index.js +0 -38
- package/lib/cjs/utils/json.js +0 -26
- package/lib/cjs/utils/processes.js +0 -173
- package/lib/cjs/utils/random.js +0 -30
- package/lib/cjs/utils/schema.js +0 -15
- package/lib/cjs/utils/url.js +0 -37
- package/lib/cjs/version.js +0 -20
- package/lib/cjs/web/index.js +0 -41
|
@@ -0,0 +1,13 @@
|
|
|
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>;
|
|
@@ -0,0 +1,13 @@
|
|
|
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>;
|
|
@@ -0,0 +1,15 @@
|
|
|
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>;
|
|
@@ -0,0 +1,15 @@
|
|
|
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>;
|
|
@@ -0,0 +1,22 @@
|
|
|
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>;
|
|
@@ -0,0 +1,20 @@
|
|
|
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>;
|
|
@@ -0,0 +1,20 @@
|
|
|
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>;
|
|
@@ -0,0 +1,22 @@
|
|
|
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>;
|
|
@@ -0,0 +1,18 @@
|
|
|
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>;
|
|
@@ -0,0 +1,16 @@
|
|
|
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>;
|
|
@@ -0,0 +1,18 @@
|
|
|
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 Attribute, type AttributeArgs } from './index.js';
|
|
10
|
+
export type Attributes = {
|
|
11
|
+
attributeList: Array<Attribute>;
|
|
12
|
+
};
|
|
13
|
+
export type AttributesArgs = {
|
|
14
|
+
attributeList: Array<AttributeArgs>;
|
|
15
|
+
};
|
|
16
|
+
export declare function getAttributesEncoder(): Encoder<AttributesArgs>;
|
|
17
|
+
export declare function getAttributesDecoder(): Decoder<Attributes>;
|
|
18
|
+
export declare function getAttributesCodec(): Codec<AttributesArgs, Attributes>;
|
|
@@ -0,0 +1,29 @@
|
|
|
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, type GetDiscriminatedUnionVariant, type GetDiscriminatedUnionVariantContent } from '@solana/kit';
|
|
9
|
+
export type Authority = {
|
|
10
|
+
__kind: "None";
|
|
11
|
+
} | {
|
|
12
|
+
__kind: "Owner";
|
|
13
|
+
} | {
|
|
14
|
+
__kind: "UpdateAuthority";
|
|
15
|
+
} | {
|
|
16
|
+
__kind: "Address";
|
|
17
|
+
address: Address;
|
|
18
|
+
};
|
|
19
|
+
export type AuthorityArgs = Authority;
|
|
20
|
+
export declare function getAuthorityEncoder(): Encoder<AuthorityArgs>;
|
|
21
|
+
export declare function getAuthorityDecoder(): Decoder<Authority>;
|
|
22
|
+
export declare function getAuthorityCodec(): Codec<AuthorityArgs, Authority>;
|
|
23
|
+
export declare function authority(kind: 'None'): GetDiscriminatedUnionVariant<AuthorityArgs, '__kind', 'None'>;
|
|
24
|
+
export declare function authority(kind: 'Owner'): GetDiscriminatedUnionVariant<AuthorityArgs, '__kind', 'Owner'>;
|
|
25
|
+
export declare function authority(kind: 'UpdateAuthority'): GetDiscriminatedUnionVariant<AuthorityArgs, '__kind', 'UpdateAuthority'>;
|
|
26
|
+
export declare function authority(kind: 'Address', data: GetDiscriminatedUnionVariantContent<AuthorityArgs, '__kind', 'Address'>): GetDiscriminatedUnionVariant<AuthorityArgs, '__kind', 'Address'>;
|
|
27
|
+
export declare function isAuthority<K extends Authority['__kind']>(kind: K, value: Authority): value is Authority & {
|
|
28
|
+
__kind: K;
|
|
29
|
+
};
|
|
@@ -0,0 +1,18 @@
|
|
|
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 AutographSignature, type AutographSignatureArgs } from './index.js';
|
|
10
|
+
export type Autograph = {
|
|
11
|
+
signatures: Array<AutographSignature>;
|
|
12
|
+
};
|
|
13
|
+
export type AutographArgs = {
|
|
14
|
+
signatures: Array<AutographSignatureArgs>;
|
|
15
|
+
};
|
|
16
|
+
export declare function getAutographEncoder(): Encoder<AutographArgs>;
|
|
17
|
+
export declare function getAutographDecoder(): Decoder<Autograph>;
|
|
18
|
+
export declare function getAutographCodec(): Codec<AutographArgs, Autograph>;
|
|
@@ -0,0 +1,16 @@
|
|
|
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 AutographSignature = {
|
|
10
|
+
address: Address;
|
|
11
|
+
message: string;
|
|
12
|
+
};
|
|
13
|
+
export type AutographSignatureArgs = AutographSignature;
|
|
14
|
+
export declare function getAutographSignatureEncoder(): Encoder<AutographSignatureArgs>;
|
|
15
|
+
export declare function getAutographSignatureDecoder(): Decoder<AutographSignature>;
|
|
16
|
+
export declare function getAutographSignatureCodec(): Codec<AutographSignatureArgs, AutographSignature>;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 BubblegumV2 = {};
|
|
10
|
+
export type BubblegumV2Args = BubblegumV2;
|
|
11
|
+
export declare function getBubblegumV2Encoder(): FixedSizeEncoder<BubblegumV2Args>;
|
|
12
|
+
export declare function getBubblegumV2Decoder(): FixedSizeDecoder<BubblegumV2>;
|
|
13
|
+
export declare function getBubblegumV2Codec(): FixedSizeCodec<BubblegumV2Args, BubblegumV2>;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 BurnDelegate = {};
|
|
10
|
+
export type BurnDelegateArgs = BurnDelegate;
|
|
11
|
+
export declare function getBurnDelegateEncoder(): FixedSizeEncoder<BurnDelegateArgs>;
|
|
12
|
+
export declare function getBurnDelegateDecoder(): FixedSizeDecoder<BurnDelegate>;
|
|
13
|
+
export declare function getBurnDelegateCodec(): FixedSizeCodec<BurnDelegateArgs, BurnDelegate>;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 CloseGroupV1Args = {};
|
|
10
|
+
export type CloseGroupV1ArgsArgs = CloseGroupV1Args;
|
|
11
|
+
export declare function getCloseGroupV1ArgsEncoder(): FixedSizeEncoder<CloseGroupV1ArgsArgs>;
|
|
12
|
+
export declare function getCloseGroupV1ArgsDecoder(): FixedSizeDecoder<CloseGroupV1Args>;
|
|
13
|
+
export declare function getCloseGroupV1ArgsCodec(): FixedSizeCodec<CloseGroupV1ArgsArgs, CloseGroupV1Args>;
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
import { type HashablePluginSchema, type HashablePluginSchemaArgs, type UpdateAuthority, type UpdateAuthorityArgs } from './index.js';
|
|
10
|
+
export type CompressionProof = {
|
|
11
|
+
owner: Address;
|
|
12
|
+
updateAuthority: UpdateAuthority;
|
|
13
|
+
name: string;
|
|
14
|
+
uri: string;
|
|
15
|
+
seq: bigint;
|
|
16
|
+
plugins: Array<HashablePluginSchema>;
|
|
17
|
+
};
|
|
18
|
+
export type CompressionProofArgs = {
|
|
19
|
+
owner: Address;
|
|
20
|
+
updateAuthority: UpdateAuthorityArgs;
|
|
21
|
+
name: string;
|
|
22
|
+
uri: string;
|
|
23
|
+
seq: number | bigint;
|
|
24
|
+
plugins: Array<HashablePluginSchemaArgs>;
|
|
25
|
+
};
|
|
26
|
+
export declare function getCompressionProofEncoder(): Encoder<CompressionProofArgs>;
|
|
27
|
+
export declare function getCompressionProofDecoder(): Decoder<CompressionProof>;
|
|
28
|
+
export declare function getCompressionProofCodec(): Codec<CompressionProofArgs, CompressionProof>;
|
|
@@ -0,0 +1,16 @@
|
|
|
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 FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
|
|
9
|
+
export type Creator = {
|
|
10
|
+
address: Address;
|
|
11
|
+
percentage: number;
|
|
12
|
+
};
|
|
13
|
+
export type CreatorArgs = Creator;
|
|
14
|
+
export declare function getCreatorEncoder(): FixedSizeEncoder<CreatorArgs>;
|
|
15
|
+
export declare function getCreatorDecoder(): FixedSizeDecoder<Creator>;
|
|
16
|
+
export declare function getCreatorCodec(): FixedSizeCodec<CreatorArgs, Creator>;
|
|
@@ -0,0 +1,20 @@
|
|
|
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 ExternalPluginAdapterSchema, type ExternalPluginAdapterSchemaArgs, type LinkedDataKey, type LinkedDataKeyArgs } from './index.js';
|
|
10
|
+
export type DataSection = {
|
|
11
|
+
parentKey: LinkedDataKey;
|
|
12
|
+
schema: ExternalPluginAdapterSchema;
|
|
13
|
+
};
|
|
14
|
+
export type DataSectionArgs = {
|
|
15
|
+
parentKey: LinkedDataKeyArgs;
|
|
16
|
+
schema: ExternalPluginAdapterSchemaArgs;
|
|
17
|
+
};
|
|
18
|
+
export declare function getDataSectionEncoder(): Encoder<DataSectionArgs>;
|
|
19
|
+
export declare function getDataSectionDecoder(): Decoder<DataSection>;
|
|
20
|
+
export declare function getDataSectionCodec(): Codec<DataSectionArgs, DataSection>;
|
|
@@ -0,0 +1,20 @@
|
|
|
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 ExternalPluginAdapterSchema, type ExternalPluginAdapterSchemaArgs, type LinkedDataKey, type LinkedDataKeyArgs } from './index.js';
|
|
10
|
+
export type DataSectionInitInfo = {
|
|
11
|
+
parentKey: LinkedDataKey;
|
|
12
|
+
schema: ExternalPluginAdapterSchema;
|
|
13
|
+
};
|
|
14
|
+
export type DataSectionInitInfoArgs = {
|
|
15
|
+
parentKey: LinkedDataKeyArgs;
|
|
16
|
+
schema: ExternalPluginAdapterSchemaArgs;
|
|
17
|
+
};
|
|
18
|
+
export declare function getDataSectionInitInfoEncoder(): Encoder<DataSectionInitInfoArgs>;
|
|
19
|
+
export declare function getDataSectionInitInfoDecoder(): Decoder<DataSectionInitInfo>;
|
|
20
|
+
export declare function getDataSectionInitInfoCodec(): Codec<DataSectionInitInfoArgs, DataSectionInitInfo>;
|
|
@@ -0,0 +1,13 @@
|
|
|
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 DataSectionUpdateInfo = {};
|
|
10
|
+
export type DataSectionUpdateInfoArgs = DataSectionUpdateInfo;
|
|
11
|
+
export declare function getDataSectionUpdateInfoEncoder(): FixedSizeEncoder<DataSectionUpdateInfoArgs>;
|
|
12
|
+
export declare function getDataSectionUpdateInfoDecoder(): FixedSizeDecoder<DataSectionUpdateInfo>;
|
|
13
|
+
export declare function getDataSectionUpdateInfoCodec(): FixedSizeCodec<DataSectionUpdateInfoArgs, DataSectionUpdateInfo>;
|
|
@@ -0,0 +1,16 @@
|
|
|
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 declare enum DataState {
|
|
10
|
+
AccountState = 0,
|
|
11
|
+
LedgerState = 1
|
|
12
|
+
}
|
|
13
|
+
export type DataStateArgs = DataState;
|
|
14
|
+
export declare function getDataStateEncoder(): FixedSizeEncoder<DataStateArgs>;
|
|
15
|
+
export declare function getDataStateDecoder(): FixedSizeDecoder<DataState>;
|
|
16
|
+
export declare function getDataStateCodec(): FixedSizeCodec<DataStateArgs, DataState>;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 Edition = {
|
|
10
|
+
number: number;
|
|
11
|
+
};
|
|
12
|
+
export type EditionArgs = Edition;
|
|
13
|
+
export declare function getEditionEncoder(): FixedSizeEncoder<EditionArgs>;
|
|
14
|
+
export declare function getEditionDecoder(): FixedSizeDecoder<Edition>;
|
|
15
|
+
export declare function getEditionCodec(): FixedSizeCodec<EditionArgs, Edition>;
|
|
@@ -0,0 +1,15 @@
|
|
|
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 ExternalCheckResult = {
|
|
10
|
+
flags: number;
|
|
11
|
+
};
|
|
12
|
+
export type ExternalCheckResultArgs = ExternalCheckResult;
|
|
13
|
+
export declare function getExternalCheckResultEncoder(): FixedSizeEncoder<ExternalCheckResultArgs>;
|
|
14
|
+
export declare function getExternalCheckResultDecoder(): FixedSizeDecoder<ExternalCheckResult>;
|
|
15
|
+
export declare function getExternalCheckResultCodec(): FixedSizeCodec<ExternalCheckResultArgs, ExternalCheckResult>;
|
|
@@ -0,0 +1,66 @@
|
|
|
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 GetDiscriminatedUnionVariant, type GetDiscriminatedUnionVariantContent } from '@solana/kit';
|
|
9
|
+
import { type AgentIdentity, type AgentIdentityArgs, type AppData, type AppDataArgs, type DataSection, type DataSectionArgs, type LifecycleHook, type LifecycleHookArgs, type LinkedAppData, type LinkedAppDataArgs, type LinkedLifecycleHook, type LinkedLifecycleHookArgs, type Oracle, type OracleArgs } from './index.js';
|
|
10
|
+
export type ExternalPluginAdapter = {
|
|
11
|
+
__kind: "LifecycleHook";
|
|
12
|
+
fields: readonly [LifecycleHook];
|
|
13
|
+
} | {
|
|
14
|
+
__kind: "Oracle";
|
|
15
|
+
fields: readonly [Oracle];
|
|
16
|
+
} | {
|
|
17
|
+
__kind: "AppData";
|
|
18
|
+
fields: readonly [AppData];
|
|
19
|
+
} | {
|
|
20
|
+
__kind: "LinkedLifecycleHook";
|
|
21
|
+
fields: readonly [LinkedLifecycleHook];
|
|
22
|
+
} | {
|
|
23
|
+
__kind: "LinkedAppData";
|
|
24
|
+
fields: readonly [LinkedAppData];
|
|
25
|
+
} | {
|
|
26
|
+
__kind: "DataSection";
|
|
27
|
+
fields: readonly [DataSection];
|
|
28
|
+
} | {
|
|
29
|
+
__kind: "AgentIdentity";
|
|
30
|
+
fields: readonly [AgentIdentity];
|
|
31
|
+
};
|
|
32
|
+
export type ExternalPluginAdapterArgs = {
|
|
33
|
+
__kind: "LifecycleHook";
|
|
34
|
+
fields: readonly [LifecycleHookArgs];
|
|
35
|
+
} | {
|
|
36
|
+
__kind: "Oracle";
|
|
37
|
+
fields: readonly [OracleArgs];
|
|
38
|
+
} | {
|
|
39
|
+
__kind: "AppData";
|
|
40
|
+
fields: readonly [AppDataArgs];
|
|
41
|
+
} | {
|
|
42
|
+
__kind: "LinkedLifecycleHook";
|
|
43
|
+
fields: readonly [LinkedLifecycleHookArgs];
|
|
44
|
+
} | {
|
|
45
|
+
__kind: "LinkedAppData";
|
|
46
|
+
fields: readonly [LinkedAppDataArgs];
|
|
47
|
+
} | {
|
|
48
|
+
__kind: "DataSection";
|
|
49
|
+
fields: readonly [DataSectionArgs];
|
|
50
|
+
} | {
|
|
51
|
+
__kind: "AgentIdentity";
|
|
52
|
+
fields: readonly [AgentIdentityArgs];
|
|
53
|
+
};
|
|
54
|
+
export declare function getExternalPluginAdapterEncoder(): Encoder<ExternalPluginAdapterArgs>;
|
|
55
|
+
export declare function getExternalPluginAdapterDecoder(): Decoder<ExternalPluginAdapter>;
|
|
56
|
+
export declare function getExternalPluginAdapterCodec(): Codec<ExternalPluginAdapterArgs, ExternalPluginAdapter>;
|
|
57
|
+
export declare function externalPluginAdapter(kind: 'LifecycleHook', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterArgs, '__kind', 'LifecycleHook'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterArgs, '__kind', 'LifecycleHook'>;
|
|
58
|
+
export declare function externalPluginAdapter(kind: 'Oracle', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterArgs, '__kind', 'Oracle'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterArgs, '__kind', 'Oracle'>;
|
|
59
|
+
export declare function externalPluginAdapter(kind: 'AppData', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterArgs, '__kind', 'AppData'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterArgs, '__kind', 'AppData'>;
|
|
60
|
+
export declare function externalPluginAdapter(kind: 'LinkedLifecycleHook', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterArgs, '__kind', 'LinkedLifecycleHook'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterArgs, '__kind', 'LinkedLifecycleHook'>;
|
|
61
|
+
export declare function externalPluginAdapter(kind: 'LinkedAppData', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterArgs, '__kind', 'LinkedAppData'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterArgs, '__kind', 'LinkedAppData'>;
|
|
62
|
+
export declare function externalPluginAdapter(kind: 'DataSection', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterArgs, '__kind', 'DataSection'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterArgs, '__kind', 'DataSection'>;
|
|
63
|
+
export declare function externalPluginAdapter(kind: 'AgentIdentity', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterArgs, '__kind', 'AgentIdentity'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterArgs, '__kind', 'AgentIdentity'>;
|
|
64
|
+
export declare function isExternalPluginAdapter<K extends ExternalPluginAdapter['__kind']>(kind: K, value: ExternalPluginAdapter): value is ExternalPluginAdapter & {
|
|
65
|
+
__kind: K;
|
|
66
|
+
};
|
|
@@ -0,0 +1,66 @@
|
|
|
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 GetDiscriminatedUnionVariant, type GetDiscriminatedUnionVariantContent } from '@solana/kit';
|
|
9
|
+
import { type AgentIdentityInitInfo, type AgentIdentityInitInfoArgs, type AppDataInitInfo, type AppDataInitInfoArgs, type DataSectionInitInfo, type DataSectionInitInfoArgs, type LifecycleHookInitInfo, type LifecycleHookInitInfoArgs, type LinkedAppDataInitInfo, type LinkedAppDataInitInfoArgs, type LinkedLifecycleHookInitInfo, type LinkedLifecycleHookInitInfoArgs, type OracleInitInfo, type OracleInitInfoArgs } from './index.js';
|
|
10
|
+
export type ExternalPluginAdapterInitInfo = {
|
|
11
|
+
__kind: "LifecycleHook";
|
|
12
|
+
fields: readonly [LifecycleHookInitInfo];
|
|
13
|
+
} | {
|
|
14
|
+
__kind: "Oracle";
|
|
15
|
+
fields: readonly [OracleInitInfo];
|
|
16
|
+
} | {
|
|
17
|
+
__kind: "AppData";
|
|
18
|
+
fields: readonly [AppDataInitInfo];
|
|
19
|
+
} | {
|
|
20
|
+
__kind: "LinkedLifecycleHook";
|
|
21
|
+
fields: readonly [LinkedLifecycleHookInitInfo];
|
|
22
|
+
} | {
|
|
23
|
+
__kind: "LinkedAppData";
|
|
24
|
+
fields: readonly [LinkedAppDataInitInfo];
|
|
25
|
+
} | {
|
|
26
|
+
__kind: "DataSection";
|
|
27
|
+
fields: readonly [DataSectionInitInfo];
|
|
28
|
+
} | {
|
|
29
|
+
__kind: "AgentIdentity";
|
|
30
|
+
fields: readonly [AgentIdentityInitInfo];
|
|
31
|
+
};
|
|
32
|
+
export type ExternalPluginAdapterInitInfoArgs = {
|
|
33
|
+
__kind: "LifecycleHook";
|
|
34
|
+
fields: readonly [LifecycleHookInitInfoArgs];
|
|
35
|
+
} | {
|
|
36
|
+
__kind: "Oracle";
|
|
37
|
+
fields: readonly [OracleInitInfoArgs];
|
|
38
|
+
} | {
|
|
39
|
+
__kind: "AppData";
|
|
40
|
+
fields: readonly [AppDataInitInfoArgs];
|
|
41
|
+
} | {
|
|
42
|
+
__kind: "LinkedLifecycleHook";
|
|
43
|
+
fields: readonly [LinkedLifecycleHookInitInfoArgs];
|
|
44
|
+
} | {
|
|
45
|
+
__kind: "LinkedAppData";
|
|
46
|
+
fields: readonly [LinkedAppDataInitInfoArgs];
|
|
47
|
+
} | {
|
|
48
|
+
__kind: "DataSection";
|
|
49
|
+
fields: readonly [DataSectionInitInfoArgs];
|
|
50
|
+
} | {
|
|
51
|
+
__kind: "AgentIdentity";
|
|
52
|
+
fields: readonly [AgentIdentityInitInfoArgs];
|
|
53
|
+
};
|
|
54
|
+
export declare function getExternalPluginAdapterInitInfoEncoder(): Encoder<ExternalPluginAdapterInitInfoArgs>;
|
|
55
|
+
export declare function getExternalPluginAdapterInitInfoDecoder(): Decoder<ExternalPluginAdapterInitInfo>;
|
|
56
|
+
export declare function getExternalPluginAdapterInitInfoCodec(): Codec<ExternalPluginAdapterInitInfoArgs, ExternalPluginAdapterInitInfo>;
|
|
57
|
+
export declare function externalPluginAdapterInitInfo(kind: 'LifecycleHook', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterInitInfoArgs, '__kind', 'LifecycleHook'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterInitInfoArgs, '__kind', 'LifecycleHook'>;
|
|
58
|
+
export declare function externalPluginAdapterInitInfo(kind: 'Oracle', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterInitInfoArgs, '__kind', 'Oracle'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterInitInfoArgs, '__kind', 'Oracle'>;
|
|
59
|
+
export declare function externalPluginAdapterInitInfo(kind: 'AppData', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterInitInfoArgs, '__kind', 'AppData'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterInitInfoArgs, '__kind', 'AppData'>;
|
|
60
|
+
export declare function externalPluginAdapterInitInfo(kind: 'LinkedLifecycleHook', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterInitInfoArgs, '__kind', 'LinkedLifecycleHook'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterInitInfoArgs, '__kind', 'LinkedLifecycleHook'>;
|
|
61
|
+
export declare function externalPluginAdapterInitInfo(kind: 'LinkedAppData', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterInitInfoArgs, '__kind', 'LinkedAppData'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterInitInfoArgs, '__kind', 'LinkedAppData'>;
|
|
62
|
+
export declare function externalPluginAdapterInitInfo(kind: 'DataSection', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterInitInfoArgs, '__kind', 'DataSection'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterInitInfoArgs, '__kind', 'DataSection'>;
|
|
63
|
+
export declare function externalPluginAdapterInitInfo(kind: 'AgentIdentity', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterInitInfoArgs, '__kind', 'AgentIdentity'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterInitInfoArgs, '__kind', 'AgentIdentity'>;
|
|
64
|
+
export declare function isExternalPluginAdapterInitInfo<K extends ExternalPluginAdapterInitInfo['__kind']>(kind: K, value: ExternalPluginAdapterInitInfo): value is ExternalPluginAdapterInitInfo & {
|
|
65
|
+
__kind: K;
|
|
66
|
+
};
|