/** * This code was AUTOGENERATED using the Codama library. * Please DO NOT EDIT THIS FILE, instead use visitors * to add features, then rerun Codama to update it. * * @see https://github.com/codama-idl/codama */ import { type Address, type ReadonlyUint8Array } from '@solana/kit'; import { type ParsedChangeAuthorizedSignersInstruction, type ParsedChangeSchemaDescriptionInstruction, type ParsedChangeSchemaStatusInstruction, type ParsedChangeSchemaVersionInstruction, type ParsedCloseAttestationInstruction, type ParsedCloseTokenizedAttestationInstruction, type ParsedCreateAttestationInstruction, type ParsedCreateCredentialInstruction, type ParsedCreateSchemaInstruction, type ParsedCreateTokenizedAttestationInstruction, type ParsedEmitEventInstruction, type ParsedTokenizeSchemaInstruction } from '../instructions'; export declare const SOLANA_ATTESTATION_SERVICE_PROGRAM_ADDRESS: Address<"22zoJMtdu4tQc2PzL74ZUT7FrwgB1Udec8DdW4yw4BdG">; export declare enum SolanaAttestationServiceAccount { Attestation = 0, Credential = 1, Schema = 2 } export declare enum SolanaAttestationServiceInstruction { CreateCredential = 0, CreateSchema = 1, ChangeSchemaStatus = 2, ChangeAuthorizedSigners = 3, ChangeSchemaDescription = 4, ChangeSchemaVersion = 5, CreateAttestation = 6, CloseAttestation = 7, TokenizeSchema = 8, CreateTokenizedAttestation = 9, CloseTokenizedAttestation = 10, EmitEvent = 11 } export declare function identifySolanaAttestationServiceInstruction(instruction: { data: ReadonlyUint8Array; } | ReadonlyUint8Array): SolanaAttestationServiceInstruction; export type ParsedSolanaAttestationServiceInstruction = ({ instructionType: SolanaAttestationServiceInstruction.CreateCredential; } & ParsedCreateCredentialInstruction) | ({ instructionType: SolanaAttestationServiceInstruction.CreateSchema; } & ParsedCreateSchemaInstruction) | ({ instructionType: SolanaAttestationServiceInstruction.ChangeSchemaStatus; } & ParsedChangeSchemaStatusInstruction) | ({ instructionType: SolanaAttestationServiceInstruction.ChangeAuthorizedSigners; } & ParsedChangeAuthorizedSignersInstruction) | ({ instructionType: SolanaAttestationServiceInstruction.ChangeSchemaDescription; } & ParsedChangeSchemaDescriptionInstruction) | ({ instructionType: SolanaAttestationServiceInstruction.ChangeSchemaVersion; } & ParsedChangeSchemaVersionInstruction) | ({ instructionType: SolanaAttestationServiceInstruction.CreateAttestation; } & ParsedCreateAttestationInstruction) | ({ instructionType: SolanaAttestationServiceInstruction.CloseAttestation; } & ParsedCloseAttestationInstruction) | ({ instructionType: SolanaAttestationServiceInstruction.TokenizeSchema; } & ParsedTokenizeSchemaInstruction) | ({ instructionType: SolanaAttestationServiceInstruction.CreateTokenizedAttestation; } & ParsedCreateTokenizedAttestationInstruction) | ({ instructionType: SolanaAttestationServiceInstruction.CloseTokenizedAttestation; } & ParsedCloseTokenizedAttestationInstruction) | ({ instructionType: SolanaAttestationServiceInstruction.EmitEvent; } & ParsedEmitEventInstruction);