memo.ts 718 B

1234567891011121314151617181920212223
  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 } from '@solana/kit';
  9. import { type ParsedAddMemoInstruction } from '../instructions';
  10. export const MEMO_PROGRAM_ADDRESS =
  11. 'MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr' as Address<'MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr'>;
  12. export enum MemoInstruction {
  13. AddMemo,
  14. }
  15. export type ParsedMemoInstruction<
  16. TProgram extends string = 'MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr',
  17. > = {
  18. instructionType: MemoInstruction.AddMemo;
  19. } & ParsedAddMemoInstruction<TProgram>;