@solana-program/system 0.7.0 → 0.8.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.
Files changed (37) hide show
  1. package/dist/src/index.js.map +1 -1
  2. package/dist/src/index.mjs.map +1 -1
  3. package/dist/types/generated/accounts/nonce.d.ts +4 -4
  4. package/dist/types/generated/accounts/nonce.d.ts.map +1 -1
  5. package/dist/types/generated/instructions/advanceNonceAccount.d.ts +9 -9
  6. package/dist/types/generated/instructions/advanceNonceAccount.d.ts.map +1 -1
  7. package/dist/types/generated/instructions/allocate.d.ts +9 -9
  8. package/dist/types/generated/instructions/allocate.d.ts.map +1 -1
  9. package/dist/types/generated/instructions/allocateWithSeed.d.ts +6 -6
  10. package/dist/types/generated/instructions/allocateWithSeed.d.ts.map +1 -1
  11. package/dist/types/generated/instructions/assign.d.ts +9 -9
  12. package/dist/types/generated/instructions/assign.d.ts.map +1 -1
  13. package/dist/types/generated/instructions/assignWithSeed.d.ts +6 -6
  14. package/dist/types/generated/instructions/assignWithSeed.d.ts.map +1 -1
  15. package/dist/types/generated/instructions/authorizeNonceAccount.d.ts +9 -9
  16. package/dist/types/generated/instructions/authorizeNonceAccount.d.ts.map +1 -1
  17. package/dist/types/generated/instructions/createAccount.d.ts +12 -12
  18. package/dist/types/generated/instructions/createAccount.d.ts.map +1 -1
  19. package/dist/types/generated/instructions/createAccountWithSeed.d.ts +7 -7
  20. package/dist/types/generated/instructions/createAccountWithSeed.d.ts.map +1 -1
  21. package/dist/types/generated/instructions/initializeNonceAccount.d.ts +8 -8
  22. package/dist/types/generated/instructions/initializeNonceAccount.d.ts.map +1 -1
  23. package/dist/types/generated/instructions/transferSol.d.ts +9 -9
  24. package/dist/types/generated/instructions/transferSol.d.ts.map +1 -1
  25. package/dist/types/generated/instructions/transferSolWithSeed.d.ts +6 -6
  26. package/dist/types/generated/instructions/transferSolWithSeed.d.ts.map +1 -1
  27. package/dist/types/generated/instructions/upgradeNonceAccount.d.ts +8 -8
  28. package/dist/types/generated/instructions/upgradeNonceAccount.d.ts.map +1 -1
  29. package/dist/types/generated/instructions/withdrawNonceAccount.d.ts +9 -9
  30. package/dist/types/generated/instructions/withdrawNonceAccount.d.ts.map +1 -1
  31. package/dist/types/generated/shared/index.d.ts +3 -3
  32. package/dist/types/generated/shared/index.d.ts.map +1 -1
  33. package/dist/types/generated/types/nonceState.d.ts +4 -4
  34. package/dist/types/generated/types/nonceState.d.ts.map +1 -1
  35. package/dist/types/generated/types/nonceVersion.d.ts +4 -4
  36. package/dist/types/generated/types/nonceVersion.d.ts.map +1 -1
  37. package/package.json +4 -4
@@ -5,11 +5,11 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- import { type Address, type Codec, type Decoder, type Encoder, type IAccountMeta, type IInstruction, type IInstructionWithAccounts, type IInstructionWithData, type ReadonlyAccount, type WritableAccount } from '@solana/kit';
8
+ import { type AccountMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit';
9
9
  import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const INITIALIZE_NONCE_ACCOUNT_DISCRIMINATOR = 6;
11
- export declare function getInitializeNonceAccountDiscriminatorBytes(): import("@solana/kit").ReadonlyUint8Array;
12
- export type InitializeNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountNonceAccount extends string | IAccountMeta<string> = string, TAccountRecentBlockhashesSysvar extends string | IAccountMeta<string> = 'SysvarRecentB1ockHashes11111111111111111111', TAccountRentSysvar extends string | IAccountMeta<string> = 'SysvarRent111111111111111111111111111111111', TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
11
+ export declare function getInitializeNonceAccountDiscriminatorBytes(): ReadonlyUint8Array;
12
+ export type InitializeNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountNonceAccount extends string | AccountMeta<string> = string, TAccountRecentBlockhashesSysvar extends string | AccountMeta<string> = 'SysvarRecentB1ockHashes11111111111111111111', TAccountRentSysvar extends string | AccountMeta<string> = 'SysvarRent111111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountNonceAccount extends string ? WritableAccount<TAccountNonceAccount> : TAccountNonceAccount,
14
14
  TAccountRecentBlockhashesSysvar extends string ? ReadonlyAccount<TAccountRecentBlockhashesSysvar> : TAccountRecentBlockhashesSysvar,
15
15
  TAccountRentSysvar extends string ? ReadonlyAccount<TAccountRentSysvar> : TAccountRentSysvar,
@@ -22,9 +22,9 @@ export type InitializeNonceAccountInstructionData = {
22
22
  export type InitializeNonceAccountInstructionDataArgs = {
23
23
  nonceAuthority: Address;
24
24
  };
25
- export declare function getInitializeNonceAccountInstructionDataEncoder(): Encoder<InitializeNonceAccountInstructionDataArgs>;
26
- export declare function getInitializeNonceAccountInstructionDataDecoder(): Decoder<InitializeNonceAccountInstructionData>;
27
- export declare function getInitializeNonceAccountInstructionDataCodec(): Codec<InitializeNonceAccountInstructionDataArgs, InitializeNonceAccountInstructionData>;
25
+ export declare function getInitializeNonceAccountInstructionDataEncoder(): FixedSizeEncoder<InitializeNonceAccountInstructionDataArgs>;
26
+ export declare function getInitializeNonceAccountInstructionDataDecoder(): FixedSizeDecoder<InitializeNonceAccountInstructionData>;
27
+ export declare function getInitializeNonceAccountInstructionDataCodec(): FixedSizeCodec<InitializeNonceAccountInstructionDataArgs, InitializeNonceAccountInstructionData>;
28
28
  export type InitializeNonceAccountInput<TAccountNonceAccount extends string = string, TAccountRecentBlockhashesSysvar extends string = string, TAccountRentSysvar extends string = string> = {
29
29
  nonceAccount: Address<TAccountNonceAccount>;
30
30
  recentBlockhashesSysvar?: Address<TAccountRecentBlockhashesSysvar>;
@@ -34,7 +34,7 @@ export type InitializeNonceAccountInput<TAccountNonceAccount extends string = st
34
34
  export declare function getInitializeNonceAccountInstruction<TAccountNonceAccount extends string, TAccountRecentBlockhashesSysvar extends string, TAccountRentSysvar extends string, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: InitializeNonceAccountInput<TAccountNonceAccount, TAccountRecentBlockhashesSysvar, TAccountRentSysvar>, config?: {
35
35
  programAddress?: TProgramAddress;
36
36
  }): InitializeNonceAccountInstruction<TProgramAddress, TAccountNonceAccount, TAccountRecentBlockhashesSysvar, TAccountRentSysvar>;
37
- export type ParsedInitializeNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
37
+ export type ParsedInitializeNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
38
38
  programAddress: Address<TProgram>;
39
39
  accounts: {
40
40
  nonceAccount: TAccountMetas[0];
@@ -43,5 +43,5 @@ export type ParsedInitializeNonceAccountInstruction<TProgram extends string = ty
43
43
  };
44
44
  data: InitializeNonceAccountInstructionData;
45
45
  };
46
- export declare function parseInitializeNonceAccountInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedInitializeNonceAccountInstruction<TProgram, TAccountMetas>;
46
+ export declare function parseInitializeNonceAccountInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedInitializeNonceAccountInstruction<TProgram, TAccountMetas>;
47
47
  //# sourceMappingURL=initializeNonceAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"initializeNonceAccount.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,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC/B,uBAAuB,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC1C,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KAC9B,CAAC;IACF,IAAI,EAAE,qCAAqC,CAAC;CAC7C,CAAC;AAEF,wBAAgB,sCAAsC,CACpD,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,YAAY,EAAE,EAE7C,WAAW,EAAE,YAAY,CAAC,QAAQ,CAAC,GACjC,wBAAwB,CAAC,aAAa,CAAC,GACvC,oBAAoB,CAAC,UAAU,CAAC,GACjC,uCAAuC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAsBlE"}
1
+ {"version":3,"file":"initializeNonceAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/initializeNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EASL,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,eAAO,MAAM,sCAAsC,IAAI,CAAC;AAExD,wBAAgB,2CAA2C,uBAE1D;AAED,MAAM,MAAM,iCAAiC,CAC3C,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,oBAAoB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAClE,+BAA+B,SAC3B,MAAM,GACN,WAAW,CAAC,MAAM,CAAC,GAAG,6CAA6C,EACvE,kBAAkB,SACd,MAAM,GACN,WAAW,CAAC,MAAM,CAAC,GAAG,6CAA6C,EACvE,kBAAkB,SA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S,MAAM,EAC9C,kBAAkB,SAAS,MAAM,EACjC,eAAe,SAAS,OAAO,GAAG,OAAO,sBAAsB,EAE/D,KAAK,EAAE,2BAA2B,CAChC,oBAAoB,EACpB,+BAA+B,EAC/B,kBAAkB,CACnB,EACD,MAAM,CAAC,EAAE;IAAE,cAAc,CAAC,EAAE,eAAe,CAAA;CAAE,GAC5C,iCAAiC,CAClC,eAAe,EACf,oBAAoB,EACpB,+BAA+B,EAC/B,kBAAkB,CACnB,CAkDA;AAED,MAAM,MAAM,uCAAuC,CACjD,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,aAAa,SAAS,SAAS,WAAW,EAAE,GAAG,SAAS,WAAW,EAAE,IACnE;IACF,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACR,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC/B,uBAAuB,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC1C,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KAC9B,CAAC;IACF,IAAI,EAAE,qCAAqC,CAAC;CAC7C,CAAC;AAEF,wBAAgB,sCAAsC,CACpD,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAChC,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GACxC,uCAAuC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAsBlE"}
@@ -5,12 +5,12 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- import { type Address, type Codec, type Decoder, type Encoder, type IAccountMeta, type IAccountSignerMeta, type IInstruction, type IInstructionWithAccounts, type IInstructionWithData, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
8
+ import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const TRANSFER_SOL_DISCRIMINATOR = 2;
11
- export declare function getTransferSolDiscriminatorBytes(): import("@solana/kit").ReadonlyUint8Array;
12
- export type TransferSolInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountSource extends string | IAccountMeta<string> = string, TAccountDestination extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
13
- TAccountSource extends string ? WritableSignerAccount<TAccountSource> & IAccountSignerMeta<TAccountSource> : TAccountSource,
11
+ export declare function getTransferSolDiscriminatorBytes(): ReadonlyUint8Array;
12
+ export type TransferSolInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountSource extends string | AccountMeta<string> = string, TAccountDestination extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
+ TAccountSource extends string ? WritableSignerAccount<TAccountSource> & AccountSignerMeta<TAccountSource> : TAccountSource,
14
14
  TAccountDestination extends string ? WritableAccount<TAccountDestination> : TAccountDestination,
15
15
  ...TRemainingAccounts
16
16
  ]>;
@@ -21,9 +21,9 @@ export type TransferSolInstructionData = {
21
21
  export type TransferSolInstructionDataArgs = {
22
22
  amount: number | bigint;
23
23
  };
24
- export declare function getTransferSolInstructionDataEncoder(): Encoder<TransferSolInstructionDataArgs>;
25
- export declare function getTransferSolInstructionDataDecoder(): Decoder<TransferSolInstructionData>;
26
- export declare function getTransferSolInstructionDataCodec(): Codec<TransferSolInstructionDataArgs, TransferSolInstructionData>;
24
+ export declare function getTransferSolInstructionDataEncoder(): FixedSizeEncoder<TransferSolInstructionDataArgs>;
25
+ export declare function getTransferSolInstructionDataDecoder(): FixedSizeDecoder<TransferSolInstructionData>;
26
+ export declare function getTransferSolInstructionDataCodec(): FixedSizeCodec<TransferSolInstructionDataArgs, TransferSolInstructionData>;
27
27
  export type TransferSolInput<TAccountSource extends string = string, TAccountDestination extends string = string> = {
28
28
  source: TransactionSigner<TAccountSource>;
29
29
  destination: Address<TAccountDestination>;
@@ -32,7 +32,7 @@ export type TransferSolInput<TAccountSource extends string = string, TAccountDes
32
32
  export declare function getTransferSolInstruction<TAccountSource extends string, TAccountDestination extends string, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: TransferSolInput<TAccountSource, TAccountDestination>, config?: {
33
33
  programAddress?: TProgramAddress;
34
34
  }): TransferSolInstruction<TProgramAddress, TAccountSource, TAccountDestination>;
35
- export type ParsedTransferSolInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
35
+ export type ParsedTransferSolInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
36
36
  programAddress: Address<TProgram>;
37
37
  accounts: {
38
38
  source: TAccountMetas[0];
@@ -40,5 +40,5 @@ export type ParsedTransferSolInstruction<TProgram extends string = typeof SYSTEM
40
40
  };
41
41
  data: TransferSolInstructionData;
42
42
  };
43
- export declare function parseTransferSolInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedTransferSolInstruction<TProgram, TAccountMetas>;
43
+ export declare function parseTransferSolInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransferSolInstruction<TProgram, TAccountMetas>;
44
44
  //# sourceMappingURL=transferSol.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transferSol.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/transferSol.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EASL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,eAAO,MAAM,0BAA0B,IAAI,CAAC;AAE5C,wBAAgB,gCAAgC,6CAE/C;AAED,MAAM,MAAM,sBAAsB,CAChC,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,cAAc,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EAC7D,mBAAmB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EAClE,kBAAkB,SAAS,SAAS,YAAY,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,IAC7D,YAAY,CAAC,QAAQ,CAAC,GACxB,oBAAoB,CAAC,UAAU,CAAC,GAChC,wBAAwB,CACtB;IACE,cAAc,SAAS,MAAM,GACzB,qBAAqB,CAAC,cAAc,CAAC,GACnC,kBAAkB,CAAC,cAAc,CAAC,GACpC,cAAc;IAClB,mBAAmB,SAAS,MAAM,GAC9B,eAAe,CAAC,mBAAmB,CAAC,GACpC,mBAAmB;IACvB,GAAG,kBAAkB;CACtB,CACF,CAAC;AAEJ,MAAM,MAAM,0BAA0B,GAAG;IACvC,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,MAAM,MAAM,8BAA8B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C,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,YAAY,EAAE,EAE7C,WAAW,EAAE,YAAY,CAAC,QAAQ,CAAC,GACjC,wBAAwB,CAAC,aAAa,CAAC,GACvC,oBAAoB,CAAC,UAAU,CAAC,GACjC,4BAA4B,CAAC,QAAQ,EAAE,aAAa,CAAC,CAmBvD"}
1
+ {"version":3,"file":"transferSol.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/transferSol.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EASL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,eAAO,MAAM,0BAA0B,IAAI,CAAC;AAE5C,wBAAgB,gCAAgC,uBAE/C;AAED,MAAM,MAAM,sBAAsB,CAChC,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,cAAc,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAC5D,mBAAmB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EACjE,kBAAkB,SAAS,SAAS,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,IAC5D,WAAW,CAAC,QAAQ,CAAC,GACvB,mBAAmB,CAAC,kBAAkB,CAAC,GACvC,uBAAuB,CACrB;IACE,cAAc,SAAS,MAAM,GACzB,qBAAqB,CAAC,cAAc,CAAC,GACnC,iBAAiB,CAAC,cAAc,CAAC,GACnC,cAAc;IAClB,mBAAmB,SAAS,MAAM,GA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,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACR,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACzB,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KAC/B,CAAC;IACF,IAAI,EAAE,0BAA0B,CAAC;CAClC,CAAC;AAEF,wBAAgB,2BAA2B,CACzC,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAChC,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GACxC,4BAA4B,CAAC,QAAQ,EAAE,aAAa,CAAC,CAmBvD"}
@@ -5,13 +5,13 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- import { type Address, type Codec, type Decoder, type Encoder, type IAccountMeta, type IAccountSignerMeta, type IInstruction, type IInstructionWithAccounts, type IInstructionWithData, type ReadonlySignerAccount, type TransactionSigner, type WritableAccount } from '@solana/kit';
8
+ import { type AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const TRANSFER_SOL_WITH_SEED_DISCRIMINATOR = 11;
11
- export declare function getTransferSolWithSeedDiscriminatorBytes(): import("@solana/kit").ReadonlyUint8Array;
12
- export type TransferSolWithSeedInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountSource extends string | IAccountMeta<string> = string, TAccountBaseAccount extends string | IAccountMeta<string> = string, TAccountDestination extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
11
+ export declare function getTransferSolWithSeedDiscriminatorBytes(): ReadonlyUint8Array;
12
+ export type TransferSolWithSeedInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountSource extends string | AccountMeta<string> = string, TAccountBaseAccount extends string | AccountMeta<string> = string, TAccountDestination extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountSource extends string ? WritableAccount<TAccountSource> : TAccountSource,
14
- TAccountBaseAccount extends string ? ReadonlySignerAccount<TAccountBaseAccount> & IAccountSignerMeta<TAccountBaseAccount> : TAccountBaseAccount,
14
+ TAccountBaseAccount extends string ? ReadonlySignerAccount<TAccountBaseAccount> & AccountSignerMeta<TAccountBaseAccount> : TAccountBaseAccount,
15
15
  TAccountDestination extends string ? WritableAccount<TAccountDestination> : TAccountDestination,
16
16
  ...TRemainingAccounts
17
17
  ]>;
@@ -40,7 +40,7 @@ export type TransferSolWithSeedInput<TAccountSource extends string = string, TAc
40
40
  export declare function getTransferSolWithSeedInstruction<TAccountSource extends string, TAccountBaseAccount extends string, TAccountDestination extends string, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: TransferSolWithSeedInput<TAccountSource, TAccountBaseAccount, TAccountDestination>, config?: {
41
41
  programAddress?: TProgramAddress;
42
42
  }): TransferSolWithSeedInstruction<TProgramAddress, TAccountSource, TAccountBaseAccount, TAccountDestination>;
43
- export type ParsedTransferSolWithSeedInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
43
+ export type ParsedTransferSolWithSeedInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
44
44
  programAddress: Address<TProgram>;
45
45
  accounts: {
46
46
  source: TAccountMetas[0];
@@ -49,5 +49,5 @@ export type ParsedTransferSolWithSeedInstruction<TProgram extends string = typeo
49
49
  };
50
50
  data: TransferSolWithSeedInstructionData;
51
51
  };
52
- export declare function parseTransferSolWithSeedInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedTransferSolWithSeedInstruction<TProgram, TAccountMetas>;
52
+ export declare function parseTransferSolWithSeedInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedTransferSolWithSeedInstruction<TProgram, TAccountMetas>;
53
53
  //# sourceMappingURL=transferSolWithSeed.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"transferSolWithSeed.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/transferSolWithSeed.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAeL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,eAAO,MAAM,oCAAoC,KAAK,CAAC;AAEvD,wBAAgB,wCAAwC,6CAEvD;AAED,MAAM,MAAM,8BAA8B,CACxC,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,cAAc,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EAC7D,mBAAmB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EAClE,mBAAmB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EACl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,EAAE,eAAe,CAAA;CAAE,GAC5C,8BAA8B,CAC/B,eAAe,EACf,cAAc,EACd,mBAAmB,EACnB,mBAAmB,CACpB,CAqCA;AAED,MAAM,MAAM,oCAAoC,CAC9C,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,aAAa,SAAS,SAAS,WAAW,EAAE,GAAG,SAAS,WAAW,EAAE,IACnE;IACF,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACR,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACzB,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC9B,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KAC/B,CAAC;IACF,IAAI,EAAE,kCAAkC,CAAC;CAC1C,CAAC;AAEF,wBAAgB,mCAAmC,CACjD,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAChC,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GACxC,oCAAoC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAsB/D"}
@@ -5,11 +5,11 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- import { type Address, type Codec, type Decoder, type Encoder, type IAccountMeta, type IInstruction, type IInstructionWithAccounts, type IInstructionWithData, type WritableAccount } from '@solana/kit';
8
+ import { type AccountMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit';
9
9
  import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const UPGRADE_NONCE_ACCOUNT_DISCRIMINATOR = 12;
11
- export declare function getUpgradeNonceAccountDiscriminatorBytes(): import("@solana/kit").ReadonlyUint8Array;
12
- export type UpgradeNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountNonceAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
11
+ export declare function getUpgradeNonceAccountDiscriminatorBytes(): ReadonlyUint8Array;
12
+ export type UpgradeNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountNonceAccount extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountNonceAccount extends string ? WritableAccount<TAccountNonceAccount> : TAccountNonceAccount,
14
14
  ...TRemainingAccounts
15
15
  ]>;
@@ -17,21 +17,21 @@ export type UpgradeNonceAccountInstructionData = {
17
17
  discriminator: number;
18
18
  };
19
19
  export type UpgradeNonceAccountInstructionDataArgs = {};
20
- export declare function getUpgradeNonceAccountInstructionDataEncoder(): Encoder<UpgradeNonceAccountInstructionDataArgs>;
21
- export declare function getUpgradeNonceAccountInstructionDataDecoder(): Decoder<UpgradeNonceAccountInstructionData>;
22
- export declare function getUpgradeNonceAccountInstructionDataCodec(): Codec<UpgradeNonceAccountInstructionDataArgs, UpgradeNonceAccountInstructionData>;
20
+ export declare function getUpgradeNonceAccountInstructionDataEncoder(): FixedSizeEncoder<UpgradeNonceAccountInstructionDataArgs>;
21
+ export declare function getUpgradeNonceAccountInstructionDataDecoder(): FixedSizeDecoder<UpgradeNonceAccountInstructionData>;
22
+ export declare function getUpgradeNonceAccountInstructionDataCodec(): FixedSizeCodec<UpgradeNonceAccountInstructionDataArgs, UpgradeNonceAccountInstructionData>;
23
23
  export type UpgradeNonceAccountInput<TAccountNonceAccount extends string = string> = {
24
24
  nonceAccount: Address<TAccountNonceAccount>;
25
25
  };
26
26
  export declare function getUpgradeNonceAccountInstruction<TAccountNonceAccount extends string, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: UpgradeNonceAccountInput<TAccountNonceAccount>, config?: {
27
27
  programAddress?: TProgramAddress;
28
28
  }): UpgradeNonceAccountInstruction<TProgramAddress, TAccountNonceAccount>;
29
- export type ParsedUpgradeNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
29
+ export type ParsedUpgradeNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
30
30
  programAddress: Address<TProgram>;
31
31
  accounts: {
32
32
  nonceAccount: TAccountMetas[0];
33
33
  };
34
34
  data: UpgradeNonceAccountInstructionData;
35
35
  };
36
- export declare function parseUpgradeNonceAccountInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedUpgradeNonceAccountInstruction<TProgram, TAccountMetas>;
36
+ export declare function parseUpgradeNonceAccountInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedUpgradeNonceAccountInstruction<TProgram, TAccountMetas>;
37
37
  //# sourceMappingURL=upgradeNonceAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"upgradeNonceAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/upgradeNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAOL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AACrB,OA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AqBvE;AAED,MAAM,MAAM,oCAAoC,CAC9C,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,aAAa,SAAS,SAAS,YAAY,EAAE,GAAG,SAAS,YAAY,EAAE,IACrE;IACF,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACR,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KAChC,CAAC;IACF,IAAI,EAAE,kCAAkC,CAAC;CAC1C,CAAC;AAEF,wBAAgB,mCAAmC,CACjD,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,YAAY,EAAE,EAE7C,WAAW,EAAE,YAAY,CAAC,QAAQ,CAAC,GACjC,wBAAwB,CAAC,aAAa,CAAC,GACvC,oBAAoB,CAAC,UAAU,CAAC,GACjC,oCAAoC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAoB/D"}
1
+ {"version":3,"file":"upgradeNonceAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/upgradeNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAOL,KAAK,WAAW,EAChB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,eAAO,MAAM,mCAAmC,KAAK,CAAC;AAEtD,wBAAgB,wCAAwC,uBAEvD;AAED,MAAM,MAAM,8BAA8B,CACxC,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,oBAAoB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAClE,kBAAkB,SAAS,SAAS,WAAW,CAAC,MAAM,CAAC,EAAE,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CAC1C,CAAC;AAEF,wBAAgB,mCAAmC,CACjD,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAChC,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GACxC,oCAAoC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAoB/D"}
@@ -5,16 +5,16 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- import { type Address, type Codec, type Decoder, type Encoder, type IAccountMeta, type IAccountSignerMeta, type IInstruction, type IInstructionWithAccounts, type IInstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type TransactionSigner, type WritableAccount } from '@solana/kit';
8
+ import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
10
10
  export declare const WITHDRAW_NONCE_ACCOUNT_DISCRIMINATOR = 5;
11
- export declare function getWithdrawNonceAccountDiscriminatorBytes(): import("@solana/kit").ReadonlyUint8Array;
12
- export type WithdrawNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountNonceAccount extends string | IAccountMeta<string> = string, TAccountRecipientAccount extends string | IAccountMeta<string> = string, TAccountRecentBlockhashesSysvar extends string | IAccountMeta<string> = 'SysvarRecentB1ockHashes11111111111111111111', TAccountRentSysvar extends string | IAccountMeta<string> = 'SysvarRent111111111111111111111111111111111', TAccountNonceAuthority extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
11
+ export declare function getWithdrawNonceAccountDiscriminatorBytes(): ReadonlyUint8Array;
12
+ export type WithdrawNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountNonceAccount extends string | AccountMeta<string> = string, TAccountRecipientAccount extends string | AccountMeta<string> = string, TAccountRecentBlockhashesSysvar extends string | AccountMeta<string> = 'SysvarRecentB1ockHashes11111111111111111111', TAccountRentSysvar extends string | AccountMeta<string> = 'SysvarRent111111111111111111111111111111111', TAccountNonceAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountNonceAccount extends string ? WritableAccount<TAccountNonceAccount> : TAccountNonceAccount,
14
14
  TAccountRecipientAccount extends string ? WritableAccount<TAccountRecipientAccount> : TAccountRecipientAccount,
15
15
  TAccountRecentBlockhashesSysvar extends string ? ReadonlyAccount<TAccountRecentBlockhashesSysvar> : TAccountRecentBlockhashesSysvar,
16
16
  TAccountRentSysvar extends string ? ReadonlyAccount<TAccountRentSysvar> : TAccountRentSysvar,
17
- TAccountNonceAuthority extends string ? ReadonlySignerAccount<TAccountNonceAuthority> & IAccountSignerMeta<TAccountNonceAuthority> : TAccountNonceAuthority,
17
+ TAccountNonceAuthority extends string ? ReadonlySignerAccount<TAccountNonceAuthority> & AccountSignerMeta<TAccountNonceAuthority> : TAccountNonceAuthority,
18
18
  ...TRemainingAccounts
19
19
  ]>;
20
20
  export type WithdrawNonceAccountInstructionData = {
@@ -24,9 +24,9 @@ export type WithdrawNonceAccountInstructionData = {
24
24
  export type WithdrawNonceAccountInstructionDataArgs = {
25
25
  withdrawAmount: number | bigint;
26
26
  };
27
- export declare function getWithdrawNonceAccountInstructionDataEncoder(): Encoder<WithdrawNonceAccountInstructionDataArgs>;
28
- export declare function getWithdrawNonceAccountInstructionDataDecoder(): Decoder<WithdrawNonceAccountInstructionData>;
29
- export declare function getWithdrawNonceAccountInstructionDataCodec(): Codec<WithdrawNonceAccountInstructionDataArgs, WithdrawNonceAccountInstructionData>;
27
+ export declare function getWithdrawNonceAccountInstructionDataEncoder(): FixedSizeEncoder<WithdrawNonceAccountInstructionDataArgs>;
28
+ export declare function getWithdrawNonceAccountInstructionDataDecoder(): FixedSizeDecoder<WithdrawNonceAccountInstructionData>;
29
+ export declare function getWithdrawNonceAccountInstructionDataCodec(): FixedSizeCodec<WithdrawNonceAccountInstructionDataArgs, WithdrawNonceAccountInstructionData>;
30
30
  export type WithdrawNonceAccountInput<TAccountNonceAccount extends string = string, TAccountRecipientAccount extends string = string, TAccountRecentBlockhashesSysvar extends string = string, TAccountRentSysvar extends string = string, TAccountNonceAuthority extends string = string> = {
31
31
  nonceAccount: Address<TAccountNonceAccount>;
32
32
  recipientAccount: Address<TAccountRecipientAccount>;
@@ -38,7 +38,7 @@ export type WithdrawNonceAccountInput<TAccountNonceAccount extends string = stri
38
38
  export declare function getWithdrawNonceAccountInstruction<TAccountNonceAccount extends string, TAccountRecipientAccount extends string, TAccountRecentBlockhashesSysvar extends string, TAccountRentSysvar extends string, TAccountNonceAuthority extends string, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: WithdrawNonceAccountInput<TAccountNonceAccount, TAccountRecipientAccount, TAccountRecentBlockhashesSysvar, TAccountRentSysvar, TAccountNonceAuthority>, config?: {
39
39
  programAddress?: TProgramAddress;
40
40
  }): WithdrawNonceAccountInstruction<TProgramAddress, TAccountNonceAccount, TAccountRecipientAccount, TAccountRecentBlockhashesSysvar, TAccountRentSysvar, TAccountNonceAuthority>;
41
- export type ParsedWithdrawNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
41
+ export type ParsedWithdrawNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
42
42
  programAddress: Address<TProgram>;
43
43
  accounts: {
44
44
  nonceAccount: TAccountMetas[0];
@@ -49,5 +49,5 @@ export type ParsedWithdrawNonceAccountInstruction<TProgram extends string = type
49
49
  };
50
50
  data: WithdrawNonceAccountInstructionData;
51
51
  };
52
- export declare function parseWithdrawNonceAccountInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedWithdrawNonceAccountInstruction<TProgram, TAccountMetas>;
52
+ export declare function parseWithdrawNonceAccountInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedWithdrawNonceAccountInstruction<TProgram, TAccountMetas>;
53
53
  //# sourceMappingURL=withdrawNonceAccount.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"withdrawNonceAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/withdrawNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EASL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,eAAO,MAAM,oCAAoC,IAAI,CAAC;AAEtD,wBAAgB,yCAAyC,6CAExD;AAED,MAAM,MAAM,+BAA+B,CACzC,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,oBAAoB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EACnE,wBAAwB,SAAS,MAAM,GA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AAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACR,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC/B,gBAAgB,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACnC,uBAAuB,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC1C,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC7B,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KAClC,CAAC;IACF,IAAI,EAAE,mCAAmC,CAAC;CAC3C,CAAC;AAEF,wBAAgB,oCAAoC,CAClD,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,YAAY,EAAE,EAE7C,WAAW,EAAE,YAAY,CAAC,QAAQ,CAAC,GACjC,wBAAwB,CAAC,aAAa,CAAC,GACvC,oBAAoB,CAAC,UAAU,CAAC,GACjC,qCAAqC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAwBhE"}
1
+ {"version":3,"file":"withdrawNonceAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/withdrawNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EASL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACrB,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,eAAO,MAAM,oCAAoC,IAAI,CAAC;AAEtD,wBAAgB,yCAAyC,uBAExD;AAED,MAAM,MAAM,+BAA+B,CACzC,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,oBAAoB,SAAS,M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SAAS,SAAS,WAAW,EAAE,GAAG,SAAS,WAAW,EAAE,IACnE;IACF,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACR,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC/B,gBAAgB,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACnC,uBAAuB,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC1C,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC7B,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KAClC,CAAC;IACF,IAAI,EAAE,mCAAmC,CAAC;CAC3C,CAAC;AAEF,wBAAgB,oCAAoC,CAClD,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAChC,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GACxC,qCAAqC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAwBhE"}
@@ -5,7 +5,7 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- import { type Address, type IAccountMeta, type IAccountSignerMeta, type ProgramDerivedAddress, type TransactionSigner } from '@solana/kit';
8
+ import { type AccountMeta, type AccountSignerMeta, type Address, type ProgramDerivedAddress, type TransactionSigner } from '@solana/kit';
9
9
  /**
10
10
  * Asserts that the given value is not null or undefined.
11
11
  * @internal
@@ -38,13 +38,13 @@ export type ResolvedAccount<T extends string = string, U extends Address<T> | Pr
38
38
  * Defines an instruction that stores additional bytes on-chain.
39
39
  * @internal
40
40
  */
41
- export type IInstructionWithByteDelta = {
41
+ export type InstructionWithByteDelta = {
42
42
  byteDelta: number;
43
43
  };
44
44
  /**
45
45
  * Get account metas and signers from resolved accounts.
46
46
  * @internal
47
47
  */
48
- export declare function getAccountMetaFactory(programAddress: Address, optionalAccountStrategy: 'omitted' | 'programId'): (account: ResolvedAccount) => IAccountMeta | IAccountSignerMeta | undefined;
48
+ export declare function getAccountMetaFactory(programAddress: Address, optionalAccountStrategy: 'omitted' | 'programId'): (account: ResolvedAccount) => AccountMeta | AccountSignerMeta | undefined;
49
49
  export declare function isTransactionSigner<TAddress extends string = string>(value: Address<TAddress> | ProgramDerivedAddress<TAddress> | TransactionSigner<TAddress>): value is TransactionSigner<TAddress>;
50
50
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/shared/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAIL,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EAEvB,MAAM,aAAa,CAAC;AAErB;;;GAGG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,GAAG,CAAC,CAK5D;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EACrD,KAAK,EACD,OAAO,CAAC,CAAC,CAAC,GACV,qBAAqB,CAAC,CAAC,CAAC,GACxB,iBAAiB,CAAC,CAAC,CAAC,GACpB,IAAI,GACJ,SAAS,GACZ,OAAO,CAAC,CAAC,CAAC,CAWZ;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EACnE,KAAK,EACD,OAAO,CAAC,CAAC,CAAC,GACV,qBAAqB,CAAC,CAAC,CAAC,GACxB,iBAAiB,CAAC,CAAC,CAAC,GACpB,IAAI,GACJ,SAAS,GACZ,qBAAqB,CAAC,CAAC,CAAC,CAK1B;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EAC/D,KAAK,EACD,OAAO,CAAC,CAAC,C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,MAAM,CAAC;CACnB,CAAC;AAEF;;;GAGG;AACH,wBAAgB,qBAAqB,CACnC,cAAc,EAAE,OAAO,EACvB,uBAAuB,EAAE,SAAS,GAAG,WAAW,aAGrC,eAAe,KACvB,WAAW,GAAG,iBAAiB,GAAG,SAAS,CAoB/C;AAED,wBAAgB,mBAAmB,CAAC,QAAQ,SAAS,MAAM,GAAG,MAAM,EAClE,KAAK,EACD,OAAO,CAAC,QAAQ,CAAC,GACjB,qBAAqB,CAAC,QAAQ,CAAC,GAC/B,iBAAiB,CAAC,QAAQ,CAAC,GAC9B,KAAK,IAAI,iBAAiB,CAAC,QAAQ,CAAC,CAOtC"}
@@ -5,13 +5,13 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- import { type Codec, type Decoder, type Encoder } from '@solana/kit';
8
+ import { type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
9
9
  export declare enum NonceState {
10
10
  Uninitialized = 0,
11
11
  Initialized = 1
12
12
  }
13
13
  export type NonceStateArgs = NonceState;
14
- export declare function getNonceStateEncoder(): Encoder<NonceStateArgs>;
15
- export declare function getNonceStateDecoder(): Decoder<NonceState>;
16
- export declare function getNonceStateCodec(): Codec<NonceStateArgs, NonceState>;
14
+ export declare function getNonceStateEncoder(): FixedSizeEncoder<NonceStateArgs>;
15
+ export declare function getNonceStateDecoder(): FixedSizeDecoder<NonceState>;
16
+ export declare function getNonceStateCodec(): FixedSizeCodec<NonceStateArgs, NonceState>;
17
17
  //# sourceMappingURL=nonceState.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nonceState.d.ts","sourceRoot":"","sources":["../../../../src/generated/types/nonceState.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAML,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACb,MAAM,aAAa,CAAC;AAErB,oBAAY,UAAU;IACpB,aAAa,IAAA;IACb,WAAW,IAAA;CACZ;AAED,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC;AAExC,wBAAgB,oBAAoB,IAAI,OAAO,CAAC,cAAc,CAAC,CAE9D;AAED,wBAAgB,oBAAoB,IAAI,OAAO,CAAC,UAAU,CAAC,CAE1D;AAED,wBAAgB,kBAAkB,IAAI,KAAK,CAAC,cAAc,EAAE,UAAU,CAAC,CAEtE"}
1
+ {"version":3,"file":"nonceState.d.ts","sourceRoot":"","sources":["../../../../src/generated/types/nonceState.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAC;AAErB,oBAAY,UAAU;IACpB,aAAa,IAAA;IACb,WAAW,IAAA;CACZ;AAED,MAAM,MAAM,cAAc,GAAG,UAAU,CAAC;AAExC,wBAAgB,oBAAoB,IAAI,gBAAgB,CAAC,cAAc,CAAC,CAEvE;AAED,wBAAgB,oBAAoB,IAAI,gBAAgB,CAAC,UAAU,CAAC,CAEnE;AAED,wBAAgB,kBAAkB,IAAI,cAAc,CAClD,cAAc,EACd,UAAU,CACX,CAEA"}
@@ -5,13 +5,13 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- import { type Codec, type Decoder, type Encoder } from '@solana/kit';
8
+ import { type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
9
9
  export declare enum NonceVersion {
10
10
  Legacy = 0,
11
11
  Current = 1
12
12
  }
13
13
  export type NonceVersionArgs = NonceVersion;
14
- export declare function getNonceVersionEncoder(): Encoder<NonceVersionArgs>;
15
- export declare function getNonceVersionDecoder(): Decoder<NonceVersion>;
16
- export declare function getNonceVersionCodec(): Codec<NonceVersionArgs, NonceVersion>;
14
+ export declare function getNonceVersionEncoder(): FixedSizeEncoder<NonceVersionArgs>;
15
+ export declare function getNonceVersionDecoder(): FixedSizeDecoder<NonceVersion>;
16
+ export declare function getNonceVersionCodec(): FixedSizeCodec<NonceVersionArgs, NonceVersion>;
17
17
  //# sourceMappingURL=nonceVersion.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"nonceVersion.d.ts","sourceRoot":"","sources":["../../../../src/generated/types/nonceVersion.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAML,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACb,MAAM,aAAa,CAAC;AAErB,oBAAY,YAAY;IACtB,MAAM,IAAA;IACN,OAAO,IAAA;CACR;AAED,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC;AAE5C,wBAAgB,sBAAsB,IAAI,OAAO,CAAC,gBAAgB,CAAC,CAElE;AAED,wBAAgB,sBAAsB,IAAI,OAAO,CAAC,YAAY,CAAC,CAE9D;AAED,wBAAgB,oBAAoB,IAAI,KAAK,CAAC,gBAAgB,EAAE,YAAY,CAAC,CAE5E"}
1
+ {"version":3,"file":"nonceVersion.d.ts","sourceRoot":"","sources":["../../../../src/generated/types/nonceVersion.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAML,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAC;AAErB,oBAAY,YAAY;IACtB,MAAM,IAAA;IACN,OAAO,IAAA;CACR;AAED,MAAM,MAAM,gBAAgB,GAAG,YAAY,CAAC;AAE5C,wBAAgB,sBAAsB,IAAI,gBAAgB,CAAC,gBAAgB,CAAC,CAE3E;AAED,wBAAgB,sBAAsB,IAAI,gBAAgB,CAAC,YAAY,CAAC,CAEvE;AAED,wBAAgB,oBAAoB,IAAI,cAAc,CACpD,gBAAgB,EAChB,YAAY,CACb,CAEA"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@solana-program/system",
3
- "version": "0.7.0",
3
+ "version": "0.8.0",
4
4
  "description": "JavaScript client for the System program",
5
5
  "sideEffects": false,
6
6
  "module": "./dist/src/index.mjs",
@@ -32,13 +32,13 @@
32
32
  },
33
33
  "homepage": "https://github.com/solana-program/system#readme",
34
34
  "peerDependencies": {
35
- "@solana/kit": "^2.1.0"
35
+ "@solana/kit": "^3.0"
36
36
  },
37
37
  "devDependencies": {
38
38
  "@ava/typescript": "^4.1.0",
39
39
  "@solana/eslint-config-solana": "^3.0.3",
40
- "@solana/kit": "^2.1.0",
41
- "@types/node": "^20",
40
+ "@solana/kit": "^3.0",
41
+ "@types/node": "^24",
42
42
  "@typescript-eslint/eslint-plugin": "^7.16.1",
43
43
  "@typescript-eslint/parser": "^7.16.1",
44
44
  "ava": "^6.1.3",