@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,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 } 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>;
|
|
@@ -1,29 +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, 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
|
-
};
|
|
@@ -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 } 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>;
|
|
@@ -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 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>;
|
|
@@ -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 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>;
|
|
@@ -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 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>;
|
|
@@ -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 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>;
|
|
@@ -1,28 +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
|
-
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>;
|
|
@@ -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 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>;
|
|
@@ -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 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>;
|
|
@@ -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 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>;
|
|
@@ -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 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>;
|
|
@@ -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 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>;
|
|
@@ -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 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>;
|
|
@@ -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 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>;
|
|
@@ -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 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
|
-
};
|
|
@@ -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 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
|
-
};
|
|
@@ -1,64 +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, type GetDiscriminatedUnionVariant, type GetDiscriminatedUnionVariantContent } from '@solana/kit';
|
|
9
|
-
import { type Authority, type AuthorityArgs, type LinkedDataKey, type LinkedDataKeyArgs } from './index.js';
|
|
10
|
-
export type ExternalPluginAdapterKey = {
|
|
11
|
-
__kind: "LifecycleHook";
|
|
12
|
-
fields: readonly [Address];
|
|
13
|
-
} | {
|
|
14
|
-
__kind: "Oracle";
|
|
15
|
-
fields: readonly [Address];
|
|
16
|
-
} | {
|
|
17
|
-
__kind: "AppData";
|
|
18
|
-
fields: readonly [Authority];
|
|
19
|
-
} | {
|
|
20
|
-
__kind: "LinkedLifecycleHook";
|
|
21
|
-
fields: readonly [Address];
|
|
22
|
-
} | {
|
|
23
|
-
__kind: "LinkedAppData";
|
|
24
|
-
fields: readonly [Authority];
|
|
25
|
-
} | {
|
|
26
|
-
__kind: "DataSection";
|
|
27
|
-
fields: readonly [LinkedDataKey];
|
|
28
|
-
} | {
|
|
29
|
-
__kind: "AgentIdentity";
|
|
30
|
-
};
|
|
31
|
-
export type ExternalPluginAdapterKeyArgs = {
|
|
32
|
-
__kind: "LifecycleHook";
|
|
33
|
-
fields: readonly [Address];
|
|
34
|
-
} | {
|
|
35
|
-
__kind: "Oracle";
|
|
36
|
-
fields: readonly [Address];
|
|
37
|
-
} | {
|
|
38
|
-
__kind: "AppData";
|
|
39
|
-
fields: readonly [AuthorityArgs];
|
|
40
|
-
} | {
|
|
41
|
-
__kind: "LinkedLifecycleHook";
|
|
42
|
-
fields: readonly [Address];
|
|
43
|
-
} | {
|
|
44
|
-
__kind: "LinkedAppData";
|
|
45
|
-
fields: readonly [AuthorityArgs];
|
|
46
|
-
} | {
|
|
47
|
-
__kind: "DataSection";
|
|
48
|
-
fields: readonly [LinkedDataKeyArgs];
|
|
49
|
-
} | {
|
|
50
|
-
__kind: "AgentIdentity";
|
|
51
|
-
};
|
|
52
|
-
export declare function getExternalPluginAdapterKeyEncoder(): Encoder<ExternalPluginAdapterKeyArgs>;
|
|
53
|
-
export declare function getExternalPluginAdapterKeyDecoder(): Decoder<ExternalPluginAdapterKey>;
|
|
54
|
-
export declare function getExternalPluginAdapterKeyCodec(): Codec<ExternalPluginAdapterKeyArgs, ExternalPluginAdapterKey>;
|
|
55
|
-
export declare function externalPluginAdapterKey(kind: 'LifecycleHook', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterKeyArgs, '__kind', 'LifecycleHook'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterKeyArgs, '__kind', 'LifecycleHook'>;
|
|
56
|
-
export declare function externalPluginAdapterKey(kind: 'Oracle', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterKeyArgs, '__kind', 'Oracle'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterKeyArgs, '__kind', 'Oracle'>;
|
|
57
|
-
export declare function externalPluginAdapterKey(kind: 'AppData', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterKeyArgs, '__kind', 'AppData'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterKeyArgs, '__kind', 'AppData'>;
|
|
58
|
-
export declare function externalPluginAdapterKey(kind: 'LinkedLifecycleHook', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterKeyArgs, '__kind', 'LinkedLifecycleHook'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterKeyArgs, '__kind', 'LinkedLifecycleHook'>;
|
|
59
|
-
export declare function externalPluginAdapterKey(kind: 'LinkedAppData', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterKeyArgs, '__kind', 'LinkedAppData'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterKeyArgs, '__kind', 'LinkedAppData'>;
|
|
60
|
-
export declare function externalPluginAdapterKey(kind: 'DataSection', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterKeyArgs, '__kind', 'DataSection'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterKeyArgs, '__kind', 'DataSection'>;
|
|
61
|
-
export declare function externalPluginAdapterKey(kind: 'AgentIdentity'): GetDiscriminatedUnionVariant<ExternalPluginAdapterKeyArgs, '__kind', 'AgentIdentity'>;
|
|
62
|
-
export declare function isExternalPluginAdapterKey<K extends ExternalPluginAdapterKey['__kind']>(kind: K, value: ExternalPluginAdapterKey): value is ExternalPluginAdapterKey & {
|
|
63
|
-
__kind: K;
|
|
64
|
-
};
|
|
@@ -1,17 +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 declare enum ExternalPluginAdapterSchema {
|
|
10
|
-
Binary = 0,
|
|
11
|
-
Json = 1,
|
|
12
|
-
MsgPack = 2
|
|
13
|
-
}
|
|
14
|
-
export type ExternalPluginAdapterSchemaArgs = ExternalPluginAdapterSchema;
|
|
15
|
-
export declare function getExternalPluginAdapterSchemaEncoder(): FixedSizeEncoder<ExternalPluginAdapterSchemaArgs>;
|
|
16
|
-
export declare function getExternalPluginAdapterSchemaDecoder(): FixedSizeDecoder<ExternalPluginAdapterSchema>;
|
|
17
|
-
export declare function getExternalPluginAdapterSchemaCodec(): FixedSizeCodec<ExternalPluginAdapterSchemaArgs, ExternalPluginAdapterSchema>;
|
|
@@ -1,21 +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 declare enum ExternalPluginAdapterType {
|
|
10
|
-
LifecycleHook = 0,
|
|
11
|
-
Oracle = 1,
|
|
12
|
-
AppData = 2,
|
|
13
|
-
LinkedLifecycleHook = 3,
|
|
14
|
-
LinkedAppData = 4,
|
|
15
|
-
DataSection = 5,
|
|
16
|
-
AgentIdentity = 6
|
|
17
|
-
}
|
|
18
|
-
export type ExternalPluginAdapterTypeArgs = ExternalPluginAdapterType;
|
|
19
|
-
export declare function getExternalPluginAdapterTypeEncoder(): FixedSizeEncoder<ExternalPluginAdapterTypeArgs>;
|
|
20
|
-
export declare function getExternalPluginAdapterTypeDecoder(): FixedSizeDecoder<ExternalPluginAdapterType>;
|
|
21
|
-
export declare function getExternalPluginAdapterTypeCodec(): FixedSizeCodec<ExternalPluginAdapterTypeArgs, ExternalPluginAdapterType>;
|
|
@@ -1,59 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This code was AUTOGENERATED using the Codama library.
|
|
3
|
-
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun Codama to update it.
|
|
5
|
-
*
|
|
6
|
-
* @see https://github.com/codama-idl/codama
|
|
7
|
-
*/
|
|
8
|
-
import { type Codec, type Decoder, type Encoder, type GetDiscriminatedUnionVariant, type GetDiscriminatedUnionVariantContent } from '@solana/kit';
|
|
9
|
-
import { type AgentIdentityUpdateInfo, type AgentIdentityUpdateInfoArgs, type AppDataUpdateInfo, type AppDataUpdateInfoArgs, type LifecycleHookUpdateInfo, type LifecycleHookUpdateInfoArgs, type LinkedAppDataUpdateInfo, type LinkedAppDataUpdateInfoArgs, type LinkedLifecycleHookUpdateInfo, type LinkedLifecycleHookUpdateInfoArgs, type OracleUpdateInfo, type OracleUpdateInfoArgs } from './index.js';
|
|
10
|
-
export type ExternalPluginAdapterUpdateInfo = {
|
|
11
|
-
__kind: "LifecycleHook";
|
|
12
|
-
fields: readonly [LifecycleHookUpdateInfo];
|
|
13
|
-
} | {
|
|
14
|
-
__kind: "Oracle";
|
|
15
|
-
fields: readonly [OracleUpdateInfo];
|
|
16
|
-
} | {
|
|
17
|
-
__kind: "AppData";
|
|
18
|
-
fields: readonly [AppDataUpdateInfo];
|
|
19
|
-
} | {
|
|
20
|
-
__kind: "LinkedLifecycleHook";
|
|
21
|
-
fields: readonly [LinkedLifecycleHookUpdateInfo];
|
|
22
|
-
} | {
|
|
23
|
-
__kind: "LinkedAppData";
|
|
24
|
-
fields: readonly [LinkedAppDataUpdateInfo];
|
|
25
|
-
} | {
|
|
26
|
-
__kind: "AgentIdentity";
|
|
27
|
-
fields: readonly [AgentIdentityUpdateInfo];
|
|
28
|
-
};
|
|
29
|
-
export type ExternalPluginAdapterUpdateInfoArgs = {
|
|
30
|
-
__kind: "LifecycleHook";
|
|
31
|
-
fields: readonly [LifecycleHookUpdateInfoArgs];
|
|
32
|
-
} | {
|
|
33
|
-
__kind: "Oracle";
|
|
34
|
-
fields: readonly [OracleUpdateInfoArgs];
|
|
35
|
-
} | {
|
|
36
|
-
__kind: "AppData";
|
|
37
|
-
fields: readonly [AppDataUpdateInfoArgs];
|
|
38
|
-
} | {
|
|
39
|
-
__kind: "LinkedLifecycleHook";
|
|
40
|
-
fields: readonly [LinkedLifecycleHookUpdateInfoArgs];
|
|
41
|
-
} | {
|
|
42
|
-
__kind: "LinkedAppData";
|
|
43
|
-
fields: readonly [LinkedAppDataUpdateInfoArgs];
|
|
44
|
-
} | {
|
|
45
|
-
__kind: "AgentIdentity";
|
|
46
|
-
fields: readonly [AgentIdentityUpdateInfoArgs];
|
|
47
|
-
};
|
|
48
|
-
export declare function getExternalPluginAdapterUpdateInfoEncoder(): Encoder<ExternalPluginAdapterUpdateInfoArgs>;
|
|
49
|
-
export declare function getExternalPluginAdapterUpdateInfoDecoder(): Decoder<ExternalPluginAdapterUpdateInfo>;
|
|
50
|
-
export declare function getExternalPluginAdapterUpdateInfoCodec(): Codec<ExternalPluginAdapterUpdateInfoArgs, ExternalPluginAdapterUpdateInfo>;
|
|
51
|
-
export declare function externalPluginAdapterUpdateInfo(kind: 'LifecycleHook', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterUpdateInfoArgs, '__kind', 'LifecycleHook'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterUpdateInfoArgs, '__kind', 'LifecycleHook'>;
|
|
52
|
-
export declare function externalPluginAdapterUpdateInfo(kind: 'Oracle', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterUpdateInfoArgs, '__kind', 'Oracle'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterUpdateInfoArgs, '__kind', 'Oracle'>;
|
|
53
|
-
export declare function externalPluginAdapterUpdateInfo(kind: 'AppData', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterUpdateInfoArgs, '__kind', 'AppData'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterUpdateInfoArgs, '__kind', 'AppData'>;
|
|
54
|
-
export declare function externalPluginAdapterUpdateInfo(kind: 'LinkedLifecycleHook', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterUpdateInfoArgs, '__kind', 'LinkedLifecycleHook'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterUpdateInfoArgs, '__kind', 'LinkedLifecycleHook'>;
|
|
55
|
-
export declare function externalPluginAdapterUpdateInfo(kind: 'LinkedAppData', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterUpdateInfoArgs, '__kind', 'LinkedAppData'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterUpdateInfoArgs, '__kind', 'LinkedAppData'>;
|
|
56
|
-
export declare function externalPluginAdapterUpdateInfo(kind: 'AgentIdentity', data: GetDiscriminatedUnionVariantContent<ExternalPluginAdapterUpdateInfoArgs, '__kind', 'AgentIdentity'>['fields']): GetDiscriminatedUnionVariant<ExternalPluginAdapterUpdateInfoArgs, '__kind', 'AgentIdentity'>;
|
|
57
|
-
export declare function isExternalPluginAdapterUpdateInfo<K extends ExternalPluginAdapterUpdateInfo['__kind']>(kind: K, value: ExternalPluginAdapterUpdateInfo): value is ExternalPluginAdapterUpdateInfo & {
|
|
58
|
-
__kind: K;
|
|
59
|
-
};
|
|
@@ -1,28 +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 ExternalPluginAdapterType, type ExternalPluginAdapterTypeArgs, type HookableLifecycleEvent, type HookableLifecycleEventArgs } from './index.js';
|
|
10
|
-
export type ExternalRegistryRecord = {
|
|
11
|
-
pluginType: ExternalPluginAdapterType;
|
|
12
|
-
authority: Authority;
|
|
13
|
-
lifecycleChecks: Option<Array<readonly [HookableLifecycleEvent, ExternalCheckResult]>>;
|
|
14
|
-
offset: bigint;
|
|
15
|
-
dataOffset: Option<bigint>;
|
|
16
|
-
dataLen: Option<bigint>;
|
|
17
|
-
};
|
|
18
|
-
export type ExternalRegistryRecordArgs = {
|
|
19
|
-
pluginType: ExternalPluginAdapterTypeArgs;
|
|
20
|
-
authority: AuthorityArgs;
|
|
21
|
-
lifecycleChecks: OptionOrNullable<Array<readonly [HookableLifecycleEventArgs, ExternalCheckResultArgs]>>;
|
|
22
|
-
offset: number | bigint;
|
|
23
|
-
dataOffset: OptionOrNullable<number | bigint>;
|
|
24
|
-
dataLen: OptionOrNullable<number | bigint>;
|
|
25
|
-
};
|
|
26
|
-
export declare function getExternalRegistryRecordEncoder(): Encoder<ExternalRegistryRecordArgs>;
|
|
27
|
-
export declare function getExternalRegistryRecordDecoder(): Decoder<ExternalRegistryRecord>;
|
|
28
|
-
export declare function getExternalRegistryRecordCodec(): Codec<ExternalRegistryRecordArgs, ExternalRegistryRecord>;
|
|
@@ -1,17 +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 declare enum ExternalValidationResult {
|
|
10
|
-
Approved = 0,
|
|
11
|
-
Rejected = 1,
|
|
12
|
-
Pass = 2
|
|
13
|
-
}
|
|
14
|
-
export type ExternalValidationResultArgs = ExternalValidationResult;
|
|
15
|
-
export declare function getExternalValidationResultEncoder(): FixedSizeEncoder<ExternalValidationResultArgs>;
|
|
16
|
-
export declare function getExternalValidationResultDecoder(): FixedSizeDecoder<ExternalValidationResult>;
|
|
17
|
-
export declare function getExternalValidationResultCodec(): FixedSizeCodec<ExternalValidationResultArgs, ExternalValidationResult>;
|