@solana-program/system 0.14.1 → 0.15.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 (47) hide show
  1. package/dist/src/index.js +46 -46
  2. package/dist/src/index.js.map +1 -1
  3. package/dist/src/index.mjs +46 -46
  4. package/dist/src/index.mjs.map +1 -1
  5. package/dist/types/generated/instructions/advanceNonceAccount.d.ts +8 -7
  6. package/dist/types/generated/instructions/advanceNonceAccount.d.ts.map +1 -1
  7. package/dist/types/generated/instructions/allocate.d.ts +6 -5
  8. package/dist/types/generated/instructions/allocate.d.ts.map +1 -1
  9. package/dist/types/generated/instructions/allocateWithSeed.d.ts +7 -6
  10. package/dist/types/generated/instructions/allocateWithSeed.d.ts.map +1 -1
  11. package/dist/types/generated/instructions/assign.d.ts +6 -5
  12. package/dist/types/generated/instructions/assign.d.ts.map +1 -1
  13. package/dist/types/generated/instructions/assignWithSeed.d.ts +7 -6
  14. package/dist/types/generated/instructions/assignWithSeed.d.ts.map +1 -1
  15. package/dist/types/generated/instructions/authorizeNonceAccount.d.ts +7 -6
  16. package/dist/types/generated/instructions/authorizeNonceAccount.d.ts.map +1 -1
  17. package/dist/types/generated/instructions/createAccount.d.ts +7 -7
  18. package/dist/types/generated/instructions/createAccount.d.ts.map +1 -1
  19. package/dist/types/generated/instructions/createAccountAllowPrefund.d.ts +7 -7
  20. package/dist/types/generated/instructions/createAccountAllowPrefund.d.ts.map +1 -1
  21. package/dist/types/generated/instructions/createAccountWithSeed.d.ts +8 -7
  22. package/dist/types/generated/instructions/createAccountWithSeed.d.ts.map +1 -1
  23. package/dist/types/generated/instructions/initializeNonceAccount.d.ts +7 -6
  24. package/dist/types/generated/instructions/initializeNonceAccount.d.ts.map +1 -1
  25. package/dist/types/generated/instructions/transferSol.d.ts +7 -6
  26. package/dist/types/generated/instructions/transferSol.d.ts.map +1 -1
  27. package/dist/types/generated/instructions/transferSolWithSeed.d.ts +8 -7
  28. package/dist/types/generated/instructions/transferSolWithSeed.d.ts.map +1 -1
  29. package/dist/types/generated/instructions/upgradeNonceAccount.d.ts +5 -4
  30. package/dist/types/generated/instructions/upgradeNonceAccount.d.ts.map +1 -1
  31. package/dist/types/generated/instructions/withdrawNonceAccount.d.ts +10 -9
  32. package/dist/types/generated/instructions/withdrawNonceAccount.d.ts.map +1 -1
  33. package/package.json +3 -3
  34. package/src/generated/instructions/advanceNonceAccount.ts +35 -21
  35. package/src/generated/instructions/allocate.ts +22 -9
  36. package/src/generated/instructions/allocateWithSeed.ts +29 -13
  37. package/src/generated/instructions/assign.ts +22 -9
  38. package/src/generated/instructions/assignWithSeed.ts +29 -13
  39. package/src/generated/instructions/authorizeNonceAccount.ts +29 -13
  40. package/src/generated/instructions/createAccount.ts +28 -11
  41. package/src/generated/instructions/createAccountAllowPrefund.ts +25 -12
  42. package/src/generated/instructions/createAccountWithSeed.ts +35 -17
  43. package/src/generated/instructions/initializeNonceAccount.ts +34 -20
  44. package/src/generated/instructions/transferSol.ts +31 -12
  45. package/src/generated/instructions/transferSolWithSeed.ts +35 -17
  46. package/src/generated/instructions/upgradeNonceAccount.ts +22 -8
  47. package/src/generated/instructions/withdrawNonceAccount.ts +50 -33
@@ -5,7 +5,8 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
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';
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 WritableAccount } from '@solana/kit';
9
+ import { type InstructionAccountInput, type InstructionAccountInputAddress, type InstructionSignerInput, type ResolvedInstructionAccountMeta } from '@solana/kit/program-client-core';
9
10
  import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
10
11
  export declare const ADVANCE_NONCE_ACCOUNT_DISCRIMINATOR = 4;
11
12
  export declare function getAdvanceNonceAccountDiscriminatorBytes(): ReadonlyUint8Array;
@@ -22,14 +23,14 @@ export type AdvanceNonceAccountInstructionDataArgs = {};
22
23
  export declare function getAdvanceNonceAccountInstructionDataEncoder(): FixedSizeEncoder<AdvanceNonceAccountInstructionDataArgs>;
23
24
  export declare function getAdvanceNonceAccountInstructionDataDecoder(): FixedSizeDecoder<AdvanceNonceAccountInstructionData>;
24
25
  export declare function getAdvanceNonceAccountInstructionDataCodec(): FixedSizeCodec<AdvanceNonceAccountInstructionDataArgs, AdvanceNonceAccountInstructionData>;
25
- export type AdvanceNonceAccountInput<TAccountNonceAccount extends string = string, TAccountRecentBlockhashesSysvar extends string = string, TAccountNonceAuthority extends string = string> = {
26
- nonceAccount: Address<TAccountNonceAccount>;
27
- recentBlockhashesSysvar?: Address<TAccountRecentBlockhashesSysvar>;
28
- nonceAuthority: TransactionSigner<TAccountNonceAuthority>;
26
+ export type AdvanceNonceAccountInput<TAccountNonceAccount extends InstructionAccountInput = InstructionAccountInput, TAccountRecentBlockhashesSysvar extends InstructionAccountInput = InstructionAccountInput, TAccountNonceAuthority extends InstructionSignerInput = InstructionSignerInput> = {
27
+ nonceAccount: TAccountNonceAccount;
28
+ recentBlockhashesSysvar?: TAccountRecentBlockhashesSysvar;
29
+ nonceAuthority: TAccountNonceAuthority;
29
30
  };
30
- export declare function getAdvanceNonceAccountInstruction<TAccountNonceAccount extends string, TAccountRecentBlockhashesSysvar extends string, TAccountNonceAuthority extends string, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: AdvanceNonceAccountInput<TAccountNonceAccount, TAccountRecentBlockhashesSysvar, TAccountNonceAuthority>, config?: {
31
+ export declare function getAdvanceNonceAccountInstruction<TAccountNonceAccount extends InstructionAccountInput, TAccountRecentBlockhashesSysvar extends InstructionAccountInput, TAccountNonceAuthority extends InstructionSignerInput, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: AdvanceNonceAccountInput<TAccountNonceAccount, TAccountRecentBlockhashesSysvar, TAccountNonceAuthority>, config?: {
31
32
  programAddress?: TProgramAddress;
32
- }): AdvanceNonceAccountInstruction<TProgramAddress, TAccountNonceAccount, TAccountRecentBlockhashesSysvar, TAccountNonceAuthority>;
33
+ }): AdvanceNonceAccountInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountNonceAccount, InstructionAccountInputAddress<TAccountNonceAccount>>, ResolvedInstructionAccountMeta<TAccountRecentBlockhashesSysvar, InstructionAccountInputAddress<TAccountRecentBlockhashesSysvar>>, ResolvedInstructionAccountMeta<TAccountNonceAuthority, InstructionAccountInputAddress<TAccountNonceAuthority>>>;
33
34
  export type ParsedAdvanceNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
34
35
  programAddress: Address<TProgram>;
35
36
  accounts: {
@@ -1 +1 @@
1
- {"version":3,"file":"advanceNonceAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/advanceNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EASH,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,EACvB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,mCAAmC,IAAI,CAAC;AAErD,wBAA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 {"version":3,"file":"advanceNonceAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/advanceNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EASH,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,eAAe,EACvB,MAAM,aAAa,CAAC;AACrB,OAAO,EAEH,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAE3B,KAAK,8BAA8B,EACtC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,mCAAmC,IAAI,CAAC;AAErD,wBAAgB,wCAAwC,IAAI,kBAAkB,CAE7E;AAED,MAAM,MAAM,8BAA8B,CACtC,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,oBAAoB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAClE,+BAA+B,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAChE,6CAA6C,EACjD,sBAAsB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EACpE,kBAAkB,SAAS,SAAS,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,IAC9D,WAAW,CAAC,QAAQ,CAAC,GACrB,mBAAmB,CAAC,kBAAkB,CAAC,GACvC,uBAAuB,CACnB;IACI,oBAAoB,SAAS,MAAM,GAAG,eAAe,CAAC,oBAAoB,CAAC,GAAG,oBAAoB;IAClG,+BAA+B,SAAS,MAAM,GACxC,eAAe,CAAC,+BAA+B,CAAC,GAChD,+BA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E,EACD,8BAA8B,CAAC,sBAAsB,EAAE,8BAA8B,CAAC,sBAAsB,CAAC,CAAC,CACjH,CAsCA;AAED,MAAM,MAAM,oCAAoC,CAC5C,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,aAAa,SAAS,SAAS,WAAW,EAAE,GAAG,SAAS,WAAW,EAAE,IACrE;IACA,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACN,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC/B,uBAAuB,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC1C,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KACpC,CAAC;IACF,IAAI,EAAE,kCAAkC,CAAC;CAC5C,CAAC;AAEF,wBAAgB,mCAAmC,CAC/C,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAC9B,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GAC5C,oCAAoC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAsB/D"}
@@ -5,7 +5,8 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
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 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 WritableSignerAccount } from '@solana/kit';
9
+ import { type InstructionAccountInputAddress, type InstructionSignerInput, type ResolvedInstructionAccountMeta } from '@solana/kit/program-client-core';
9
10
  import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
10
11
  export declare const ALLOCATE_DISCRIMINATOR = 8;
11
12
  export declare function getAllocateDiscriminatorBytes(): ReadonlyUint8Array;
@@ -23,13 +24,13 @@ export type AllocateInstructionDataArgs = {
23
24
  export declare function getAllocateInstructionDataEncoder(): FixedSizeEncoder<AllocateInstructionDataArgs>;
24
25
  export declare function getAllocateInstructionDataDecoder(): FixedSizeDecoder<AllocateInstructionData>;
25
26
  export declare function getAllocateInstructionDataCodec(): FixedSizeCodec<AllocateInstructionDataArgs, AllocateInstructionData>;
26
- export type AllocateInput<TAccountNewAccount extends string = string> = {
27
- newAccount: TransactionSigner<TAccountNewAccount>;
27
+ export type AllocateInput<TAccountNewAccount extends InstructionSignerInput = InstructionSignerInput> = {
28
+ newAccount: TAccountNewAccount;
28
29
  space: AllocateInstructionDataArgs['space'];
29
30
  };
30
- export declare function getAllocateInstruction<TAccountNewAccount extends string, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: AllocateInput<TAccountNewAccount>, config?: {
31
+ export declare function getAllocateInstruction<TAccountNewAccount extends InstructionSignerInput, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: AllocateInput<TAccountNewAccount>, config?: {
31
32
  programAddress?: TProgramAddress;
32
- }): AllocateInstruction<TProgramAddress, TAccountNewAccount>;
33
+ }): AllocateInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountNewAccount, InstructionAccountInputAddress<TAccountNewAccount>>>;
33
34
  export type ParsedAllocateInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
34
35
  programAddress: Address<TProgram>;
35
36
  accounts: {
@@ -1 +1 @@
1
- {"version":3,"file":"allocate.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/allocate.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAWH,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,O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IAAI;IACpG,UAAU,EAAE,kBAAkB,CAAC;IAC/B,KAAK,EAAE,2BAA2B,CAAC,OAAO,CAAC,CAAC;CAC/C,CAAC;AAEF,wBAAgB,sBAAsB,CAClC,kBAAkB,SAAS,sBAAsB,EACjD,eAAe,SAAS,OAAO,GAAG,OAAO,sBAAsB,EAE/D,KAAK,EAAE,aAAa,CAAC,kBAAkB,CAAC,EACxC,MAAM,CAAC,EAAE;IAAE,cAAc,CAAC,EAAE,eAAe,CAAA;CAAE,GAC9C,mBAAmB,CAClB,eAAe,EACf,8BAA8B,CAAC,kBAAkB,EAAE,8BAA8B,CAAC,kBAAkB,CAAC,CAAC,CACzG,CAsBA;AAED,MAAM,MAAM,yBAAyB,CACjC,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,aAAa,SAAS,SAAS,WAAW,EAAE,GAAG,SAAS,WAAW,EAAE,IACrE;IACA,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACN,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KAChC,CAAC;IACF,IAAI,EAAE,uBAAuB,CAAC;CACjC,CAAC;AAEF,wBAAgB,wBAAwB,CAAC,QAAQ,SAAS,MAAM,EAAE,aAAa,SAAS,SAAS,WAAW,EAAE,EAC1G,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAC9B,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GAC5C,yBAAyB,CAAC,QAAQ,EAAE,aAAa,CAAC,CAkBpD"}
@@ -5,7 +5,8 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
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';
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 WritableAccount } from '@solana/kit';
9
+ import { type InstructionAccountInput, type InstructionAccountInputAddress, type InstructionSignerInput, type ResolvedInstructionAccountMeta } from '@solana/kit/program-client-core';
9
10
  import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
10
11
  export declare const ALLOCATE_WITH_SEED_DISCRIMINATOR = 9;
11
12
  export declare function getAllocateWithSeedDiscriminatorBytes(): ReadonlyUint8Array;
@@ -30,17 +31,17 @@ export type AllocateWithSeedInstructionDataArgs = {
30
31
  export declare function getAllocateWithSeedInstructionDataEncoder(): Encoder<AllocateWithSeedInstructionDataArgs>;
31
32
  export declare function getAllocateWithSeedInstructionDataDecoder(): Decoder<AllocateWithSeedInstructionData>;
32
33
  export declare function getAllocateWithSeedInstructionDataCodec(): Codec<AllocateWithSeedInstructionDataArgs, AllocateWithSeedInstructionData>;
33
- export type AllocateWithSeedInput<TAccountNewAccount extends string = string, TAccountBaseAccount extends string = string> = {
34
- newAccount: Address<TAccountNewAccount>;
35
- baseAccount: TransactionSigner<TAccountBaseAccount>;
34
+ export type AllocateWithSeedInput<TAccountNewAccount extends InstructionAccountInput = InstructionAccountInput, TAccountBaseAccount extends InstructionSignerInput = InstructionSignerInput> = {
35
+ newAccount: TAccountNewAccount;
36
+ baseAccount: TAccountBaseAccount;
36
37
  base: AllocateWithSeedInstructionDataArgs['base'];
37
38
  seed: AllocateWithSeedInstructionDataArgs['seed'];
38
39
  space: AllocateWithSeedInstructionDataArgs['space'];
39
40
  programAddress: AllocateWithSeedInstructionDataArgs['programAddress'];
40
41
  };
41
- export declare function getAllocateWithSeedInstruction<TAccountNewAccount extends string, TAccountBaseAccount extends string, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: AllocateWithSeedInput<TAccountNewAccount, TAccountBaseAccount>, config?: {
42
+ export declare function getAllocateWithSeedInstruction<TAccountNewAccount extends InstructionAccountInput, TAccountBaseAccount extends InstructionSignerInput, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: AllocateWithSeedInput<TAccountNewAccount, TAccountBaseAccount>, config?: {
42
43
  programAddress?: TProgramAddress;
43
- }): AllocateWithSeedInstruction<TProgramAddress, TAccountNewAccount, TAccountBaseAccount>;
44
+ }): AllocateWithSeedInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountNewAccount, InstructionAccountInputAddress<TAccountNewAccount>>, ResolvedInstructionAccountMeta<TAccountBaseAccount, InstructionAccountInputAddress<TAccountBaseAccount>>>;
44
45
  export type ParsedAllocateWithSeedInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
45
46
  programAddress: Address<TProgram>;
46
47
  accounts: {
@@ -1 +1 @@
1
- {"version":3,"file":"allocateWithSeed.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/allocateWithSeed.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAiBH,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACvB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,gCAAgC,IAAI,CAAC;AAElD,wBAAgB,qCAAqC,IAAI,kBAAkB,CAE1E;AAED,MAAM,MAAM,2BAA2B,CACnC,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,kBAAkB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAChE,mBAAmB,S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,CAAC,mBAAmB,EAAE,8BAA8B,CAAC,mBAAmB,CAAC,CAAC,CAC3G,CA6BA;AAED,MAAM,MAAM,iCAAiC,CACzC,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,aAAa,SAAS,SAAS,WAAW,EAAE,GAAG,SAAS,WAAW,EAAE,IACrE;IACA,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACN,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC7B,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KACjC,CAAC;IACF,IAAI,EAAE,+BAA+B,CAAC;CACzC,CAAC;AAEF,wBAAgB,gCAAgC,CAAC,QAAQ,SAAS,MAAM,EAAE,aAAa,SAAS,SAAS,WAAW,EAAE,EAClH,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAC9B,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GAC5C,iCAAiC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAkB5D"}
@@ -5,7 +5,8 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
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 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 WritableSignerAccount } from '@solana/kit';
9
+ import { type InstructionAccountInputAddress, type InstructionSignerInput, type ResolvedInstructionAccountMeta } from '@solana/kit/program-client-core';
9
10
  import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
10
11
  export declare const ASSIGN_DISCRIMINATOR = 1;
11
12
  export declare function getAssignDiscriminatorBytes(): ReadonlyUint8Array;
@@ -23,13 +24,13 @@ export type AssignInstructionDataArgs = {
23
24
  export declare function getAssignInstructionDataEncoder(): FixedSizeEncoder<AssignInstructionDataArgs>;
24
25
  export declare function getAssignInstructionDataDecoder(): FixedSizeDecoder<AssignInstructionData>;
25
26
  export declare function getAssignInstructionDataCodec(): FixedSizeCodec<AssignInstructionDataArgs, AssignInstructionData>;
26
- export type AssignInput<TAccountAccount extends string = string> = {
27
- account: TransactionSigner<TAccountAccount>;
27
+ export type AssignInput<TAccountAccount extends InstructionSignerInput = InstructionSignerInput> = {
28
+ account: TAccountAccount;
28
29
  programAddress: AssignInstructionDataArgs['programAddress'];
29
30
  };
30
- export declare function getAssignInstruction<TAccountAccount extends string, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: AssignInput<TAccountAccount>, config?: {
31
+ export declare function getAssignInstruction<TAccountAccount extends InstructionSignerInput, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: AssignInput<TAccountAccount>, config?: {
31
32
  programAddress?: TProgramAddress;
32
- }): AssignInstruction<TProgramAddress, TAccountAccount>;
33
+ }): AssignInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountAccount, InstructionAccountInputAddress<TAccountAccount>>>;
33
34
  export type ParsedAssignInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
34
35
  programAddress: Address<TProgram>;
35
36
  accounts: {
@@ -1 +1 @@
1
- {"version":3,"file":"assign.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/assign.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAWH,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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AO,GAAG,OAAO,sBAAsB,EAE/D,KAAK,EAAE,WAAW,CAAC,eAAe,CAAC,EACnC,MAAM,CAAC,EAAE;IAAE,cAAc,CAAC,EAAE,eAAe,CAAA;CAAE,GAC9C,iBAAiB,CAChB,eAAe,EACf,8BAA8B,CAAC,eAAe,EAAE,8BAA8B,CAAC,eAAe,CAAC,CAAC,CACnG,CAsBA;AAED,MAAM,MAAM,uBAAuB,CAC/B,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,aAAa,SAAS,SAAS,WAAW,EAAE,GAAG,SAAS,WAAW,EAAE,IACrE;IACA,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACN,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KAC7B,CAAC;IACF,IAAI,EAAE,qBAAqB,CAAC;CAC/B,CAAC;AAEF,wBAAgB,sBAAsB,CAAC,QAAQ,SAAS,MAAM,EAAE,aAAa,SAAS,SAAS,WAAW,EAAE,EACxG,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAC9B,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GAC5C,uBAAuB,CAAC,QAAQ,EAAE,aAAa,CAAC,CAkBlD"}
@@ -5,7 +5,8 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
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';
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 WritableAccount } from '@solana/kit';
9
+ import { type InstructionAccountInput, type InstructionAccountInputAddress, type InstructionSignerInput, type ResolvedInstructionAccountMeta } from '@solana/kit/program-client-core';
9
10
  import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
10
11
  export declare const ASSIGN_WITH_SEED_DISCRIMINATOR = 10;
11
12
  export declare function getAssignWithSeedDiscriminatorBytes(): ReadonlyUint8Array;
@@ -28,16 +29,16 @@ export type AssignWithSeedInstructionDataArgs = {
28
29
  export declare function getAssignWithSeedInstructionDataEncoder(): Encoder<AssignWithSeedInstructionDataArgs>;
29
30
  export declare function getAssignWithSeedInstructionDataDecoder(): Decoder<AssignWithSeedInstructionData>;
30
31
  export declare function getAssignWithSeedInstructionDataCodec(): Codec<AssignWithSeedInstructionDataArgs, AssignWithSeedInstructionData>;
31
- export type AssignWithSeedInput<TAccountAccount extends string = string, TAccountBaseAccount extends string = string> = {
32
- account: Address<TAccountAccount>;
33
- baseAccount: TransactionSigner<TAccountBaseAccount>;
32
+ export type AssignWithSeedInput<TAccountAccount extends InstructionAccountInput = InstructionAccountInput, TAccountBaseAccount extends InstructionSignerInput = InstructionSignerInput> = {
33
+ account: TAccountAccount;
34
+ baseAccount: TAccountBaseAccount;
34
35
  base: AssignWithSeedInstructionDataArgs['base'];
35
36
  seed: AssignWithSeedInstructionDataArgs['seed'];
36
37
  programAddress: AssignWithSeedInstructionDataArgs['programAddress'];
37
38
  };
38
- export declare function getAssignWithSeedInstruction<TAccountAccount extends string, TAccountBaseAccount extends string, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: AssignWithSeedInput<TAccountAccount, TAccountBaseAccount>, config?: {
39
+ export declare function getAssignWithSeedInstruction<TAccountAccount extends InstructionAccountInput, TAccountBaseAccount extends InstructionSignerInput, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: AssignWithSeedInput<TAccountAccount, TAccountBaseAccount>, config?: {
39
40
  programAddress?: TProgramAddress;
40
- }): AssignWithSeedInstruction<TProgramAddress, TAccountAccount, TAccountBaseAccount>;
41
+ }): AssignWithSeedInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountAccount, InstructionAccountInputAddress<TAccountAccount>>, ResolvedInstructionAccountMeta<TAccountBaseAccount, InstructionAccountInputAddress<TAccountBaseAccount>>>;
41
42
  export type ParsedAssignWithSeedInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
42
43
  programAddress: Address<TProgram>;
43
44
  accounts: {
@@ -1 +1 @@
1
- {"version":3,"file":"assignWithSeed.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/assignWithSeed.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAiBH,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACvB,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,8BAA8B,KAAK,CAAC;AAEjD,wBAAgB,mCAAmC,IAAI,kBAAkB,CAExE;AAED,MAAM,MAAM,yBAAyB,CACjC,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,eAAe,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAC7D,mBAAmB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EACjE,kBAAkB,SAAS,SAAS,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,IAC9D,WAAW,CAAC,QAAQ,CAAC,GACrB,mBAAmB,CAAC,kBAAkB,CAAC,GACvC,uBAAuB,CACnB;IACI,eAAe,SAAS,MAAM,GAAG,eAAe,CAAC,eAAe,CAAC,GAAG,eAAe;IACnF,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,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GAC5C,+BAA+B,CAAC,QAAQ,EAAE,aAAa,CAAC,CAkB1D"}
@@ -5,7 +5,8 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
- import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlySignerAccount, type ReadonlyUint8Array, 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 ReadonlySignerAccount, type ReadonlyUint8Array, type WritableAccount } from '@solana/kit';
9
+ import { type InstructionAccountInput, type InstructionAccountInputAddress, type InstructionSignerInput, type ResolvedInstructionAccountMeta } from '@solana/kit/program-client-core';
9
10
  import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
10
11
  export declare const AUTHORIZE_NONCE_ACCOUNT_DISCRIMINATOR = 7;
11
12
  export declare function getAuthorizeNonceAccountDiscriminatorBytes(): ReadonlyUint8Array;
@@ -24,14 +25,14 @@ export type AuthorizeNonceAccountInstructionDataArgs = {
24
25
  export declare function getAuthorizeNonceAccountInstructionDataEncoder(): FixedSizeEncoder<AuthorizeNonceAccountInstructionDataArgs>;
25
26
  export declare function getAuthorizeNonceAccountInstructionDataDecoder(): FixedSizeDecoder<AuthorizeNonceAccountInstructionData>;
26
27
  export declare function getAuthorizeNonceAccountInstructionDataCodec(): FixedSizeCodec<AuthorizeNonceAccountInstructionDataArgs, AuthorizeNonceAccountInstructionData>;
27
- export type AuthorizeNonceAccountInput<TAccountNonceAccount extends string = string, TAccountNonceAuthority extends string = string> = {
28
- nonceAccount: Address<TAccountNonceAccount>;
29
- nonceAuthority: TransactionSigner<TAccountNonceAuthority>;
28
+ export type AuthorizeNonceAccountInput<TAccountNonceAccount extends InstructionAccountInput = InstructionAccountInput, TAccountNonceAuthority extends InstructionSignerInput = InstructionSignerInput> = {
29
+ nonceAccount: TAccountNonceAccount;
30
+ nonceAuthority: TAccountNonceAuthority;
30
31
  newNonceAuthority: AuthorizeNonceAccountInstructionDataArgs['newNonceAuthority'];
31
32
  };
32
- export declare function getAuthorizeNonceAccountInstruction<TAccountNonceAccount extends string, TAccountNonceAuthority extends string, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: AuthorizeNonceAccountInput<TAccountNonceAccount, TAccountNonceAuthority>, config?: {
33
+ export declare function getAuthorizeNonceAccountInstruction<TAccountNonceAccount extends InstructionAccountInput, TAccountNonceAuthority extends InstructionSignerInput, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: AuthorizeNonceAccountInput<TAccountNonceAccount, TAccountNonceAuthority>, config?: {
33
34
  programAddress?: TProgramAddress;
34
- }): AuthorizeNonceAccountInstruction<TProgramAddress, TAccountNonceAccount, TAccountNonceAuthority>;
35
+ }): AuthorizeNonceAccountInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountNonceAccount, InstructionAccountInputAddress<TAccountNonceAccount>>, ResolvedInstructionAccountMeta<TAccountNonceAuthority, InstructionAccountInputAddress<TAccountNonceAuthority>>>;
35
36
  export type ParsedAuthorizeNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
36
37
  programAddress: Address<TProgram>;
37
38
  accounts: {
@@ -1 +1 @@
1
- {"version":3,"file":"authorizeNonceAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/authorizeNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAWH,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,W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AAa,CAAC,CAkBjE"}
1
+ {"version":3,"file":"authorizeNonceAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/authorizeNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAWH,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,qBAAqB,EAC1B,KAAK,kBAAkB,EACvB,KAAK,eAAe,EACvB,MAAM,aAAa,CAAC;AACrB,OAAO,EAEH,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAE3B,KAAK,8BAA8B,EACtC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,qCAAqC,IAAI,CAAC;AAEvD,wBAAgB,0CAA0C,IAAI,kBAAkB,CAE/E;AAED,MAAM,MAAM,gCAAgC,CACxC,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,oBAAoB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAClE,sBAAsB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EACpE,kBAAkB,SAAS,SAAS,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,IAC9D,WAAW,CAAC,QAAQ,CAAC,GACrB,mBAAmB,CAAC,kBAAkB,CAAC,GACvC,uBAAuB,CACnB;IACI,oBAAoB,SAAS,MAAM,GAAG,eAAe,CAAC,oBAAoB,CAAC,GAAG,oBAAoB;IAClG,sBAAsB,SAAS,MAAM,GAC/B,qBAAqB,CAAC,sBAAsB,CAAC,GAAG,iBAAiB,CAAC,sBAAsB,CAAC,GACzF,sBAAsB;IAC5B,GAAG,kB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EAAE,IACrE;IACA,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACN,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC/B,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KACpC,CAAC;IACF,IAAI,EAAE,oCAAoC,CAAC;CAC9C,CAAC;AAEF,wBAAgB,qCAAqC,CACjD,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAC9B,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GAC5C,sCAAsC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAkBjE"}
@@ -5,8 +5,8 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
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 WritableSignerAccount } from '@solana/kit';
9
- import { type InstructionWithByteDelta } from '@solana/kit/program-client-core';
8
+ import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyUint8Array, type WritableSignerAccount } from '@solana/kit';
9
+ import { type InstructionAccountInputAddress, type InstructionSignerInput, type InstructionWithByteDelta, type ResolvedInstructionAccountMeta } from '@solana/kit/program-client-core';
10
10
  import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
11
11
  export declare const CREATE_ACCOUNT_DISCRIMINATOR = 0;
12
12
  export declare function getCreateAccountDiscriminatorBytes(): ReadonlyUint8Array;
@@ -29,16 +29,16 @@ export type CreateAccountInstructionDataArgs = {
29
29
  export declare function getCreateAccountInstructionDataEncoder(): FixedSizeEncoder<CreateAccountInstructionDataArgs>;
30
30
  export declare function getCreateAccountInstructionDataDecoder(): FixedSizeDecoder<CreateAccountInstructionData>;
31
31
  export declare function getCreateAccountInstructionDataCodec(): FixedSizeCodec<CreateAccountInstructionDataArgs, CreateAccountInstructionData>;
32
- export type CreateAccountInput<TAccountPayer extends string = string, TAccountNewAccount extends string = string> = {
33
- payer: TransactionSigner<TAccountPayer>;
34
- newAccount: TransactionSigner<TAccountNewAccount>;
32
+ export type CreateAccountInput<TAccountPayer extends InstructionSignerInput = InstructionSignerInput, TAccountNewAccount extends InstructionSignerInput = InstructionSignerInput> = {
33
+ payer: TAccountPayer;
34
+ newAccount: TAccountNewAccount;
35
35
  lamports: CreateAccountInstructionDataArgs['lamports'];
36
36
  space: CreateAccountInstructionDataArgs['space'];
37
37
  programAddress: CreateAccountInstructionDataArgs['programAddress'];
38
38
  };
39
- export declare function getCreateAccountInstruction<TAccountPayer extends string, TAccountNewAccount extends string, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: CreateAccountInput<TAccountPayer, TAccountNewAccount>, config?: {
39
+ export declare function getCreateAccountInstruction<TAccountPayer extends InstructionSignerInput, TAccountNewAccount extends InstructionSignerInput, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: CreateAccountInput<TAccountPayer, TAccountNewAccount>, config?: {
40
40
  programAddress?: TProgramAddress;
41
- }): CreateAccountInstruction<TProgramAddress, TAccountPayer, TAccountNewAccount> & InstructionWithByteDelta;
41
+ }): CreateAccountInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountPayer, InstructionAccountInputAddress<TAccountPayer>>, ResolvedInstructionAccountMeta<TAccountNewAccount, InstructionAccountInputAddress<TAccountNewAccount>>> & InstructionWithByteDelta;
42
42
  export type ParsedCreateAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
43
43
  programAddress: Address<TProgram>;
44
44
  accounts: {
@@ -1 +1 @@
1
- {"version":3,"file":"createAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/createAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAcH,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,qBAAqB,EAC7B,MAAM,aAAa,CAAC;AACrB,OAAO,EAEH,KAAK,wBAAwB,EAEhC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,4BAA4B,IAAI,CAAC;AAE9C,wBAAgB,kCAAkC,IAAI,kBAAkB,CAEvE;AAED,MAAM,MAAM,wBAAwB,CAChC,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,aAAa,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAC3D,kBAAkB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAChE,kBAAkB,SAAS,SAAS,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,IAC9D,WAAW,CAAC,QAAQ,CAAC,GACrB,mBAAmB,CAAC,kBAAkB,CAAC,GACvC,uBAAuB,CACnB;IACI,aAAa,SAAS,MAAM,GACtB,qBAAqB,CAAC,aAAa,CAAC,GAAG,iBAAiB,CAAC,aAAa,CAAC,GACvE,aAAa;IACnB,kBAAkB,SAAS,MAAM,GAC3B,qBAAqB,CAAC,kBAAkB,CAAC,GAAG,iBAAiB,CAAC,kBAAkB,CAAC,GACjF,kBAAkB;IACxB,GAAG,kBAAkB;CACxB,CACJ,CAAC;AAEN,MAAM,MAAM,4BAA4B,GAAG;IACvC,a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,CAAC,QAAQ,EAAE,aAAa,CAAC,CAkBzD"}
@@ -5,8 +5,8 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
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 WritableSignerAccount } from '@solana/kit';
9
- import { type InstructionWithByteDelta } from '@solana/kit/program-client-core';
8
+ import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyUint8Array, type WritableSignerAccount } from '@solana/kit';
9
+ import { type InstructionAccountInputAddress, type InstructionSignerInput, type InstructionWithByteDelta, type ResolvedInstructionAccountMeta } from '@solana/kit/program-client-core';
10
10
  import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
11
11
  export declare const CREATE_ACCOUNT_ALLOW_PREFUND_DISCRIMINATOR = 13;
12
12
  export declare function getCreateAccountAllowPrefundDiscriminatorBytes(): ReadonlyUint8Array;
@@ -31,16 +31,16 @@ export type CreateAccountAllowPrefundInstructionDataArgs = {
31
31
  export declare function getCreateAccountAllowPrefundInstructionDataEncoder(): FixedSizeEncoder<CreateAccountAllowPrefundInstructionDataArgs>;
32
32
  export declare function getCreateAccountAllowPrefundInstructionDataDecoder(): FixedSizeDecoder<CreateAccountAllowPrefundInstructionData>;
33
33
  export declare function getCreateAccountAllowPrefundInstructionDataCodec(): FixedSizeCodec<CreateAccountAllowPrefundInstructionDataArgs, CreateAccountAllowPrefundInstructionData>;
34
- export type CreateAccountAllowPrefundInput<TAccountNewAccount extends string = string, TAccountPayer extends string = string> = {
35
- newAccount: TransactionSigner<TAccountNewAccount>;
36
- payer?: TransactionSigner<TAccountPayer>;
34
+ export type CreateAccountAllowPrefundInput<TAccountNewAccount extends InstructionSignerInput = InstructionSignerInput, TAccountPayer extends InstructionSignerInput = InstructionSignerInput> = {
35
+ newAccount: TAccountNewAccount;
36
+ payer?: TAccountPayer;
37
37
  lamports?: CreateAccountAllowPrefundInstructionDataArgs['lamports'];
38
38
  space: CreateAccountAllowPrefundInstructionDataArgs['space'];
39
39
  programAddress: CreateAccountAllowPrefundInstructionDataArgs['programAddress'];
40
40
  };
41
- export declare function getCreateAccountAllowPrefundInstruction<TAccountNewAccount extends string, TAccountPayer extends string, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: CreateAccountAllowPrefundInput<TAccountNewAccount, TAccountPayer>, config?: {
41
+ export declare function getCreateAccountAllowPrefundInstruction<TAccountNewAccount extends InstructionSignerInput, TAccountPayer extends InstructionSignerInput, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: CreateAccountAllowPrefundInput<TAccountNewAccount, TAccountPayer>, config?: {
42
42
  programAddress?: TProgramAddress;
43
- }): CreateAccountAllowPrefundInstruction<TProgramAddress, TAccountNewAccount, TAccountPayer> & InstructionWithByteDelta;
43
+ }): CreateAccountAllowPrefundInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountNewAccount, InstructionAccountInputAddress<TAccountNewAccount>>, ResolvedInstructionAccountMeta<TAccountPayer, InstructionAccountInputAddress<TAccountPayer>>> & InstructionWithByteDelta;
44
44
  export type ParsedCreateAccountAllowPrefundInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
45
45
  programAddress: Address<TProgram>;
46
46
  accounts: {
@@ -1 +1 @@
1
- {"version":3,"file":"createAccountAllowPrefund.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/createAccountAllowPrefund.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAcH,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBA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AAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACN,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC7B,KAAK,CAAC,EAAE,aAAa,CAAC,CAAC,CAAC,GAAG,SAAS,CAAC;KACxC,CAAC;IACF,IAAI,EAAE,wCAAwC,CAAC;CAClD,CAAC;AAEF,wBAAgB,yCAAyC,CACrD,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAC9B,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GAC5C,0CAA0C,CAAC,QAAQ,EAAE,aAAa,CAAC,CAwBrE"}
1
+ {"version":3,"file":"createAccountAllowPrefund.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/createAccountAllowPrefund.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAcH,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,qBAAqB,EAC7B,MAAM,aAAa,CAAC;AACrB,OAAO,EAEH,KAAK,8BAA8B,EACnC,KAAK,sBAAsB,EAC3B,KAAK,wBAAwB,EAE7B,KAAK,8BAA8B,EACtC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,0CAA0C,KAAK,CAAC;AAE7D,wBAAgB,8CAA8C,IAAI,kBAAkB,CAEnF;AAED,MAAM,MAAM,oCAAoC,CAC5C,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,kBAAkB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM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GAC5C,0CAA0C,CAAC,QAAQ,EAAE,aAAa,CAAC,CAwBrE"}
@@ -5,7 +5,8 @@
5
5
  *
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
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, type WritableSignerAccount } 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 WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
+ import { type InstructionAccountInput, type InstructionAccountInputAddress, type InstructionSignerInput, type ResolvedInstructionAccountMeta } from '@solana/kit/program-client-core';
9
10
  import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
10
11
  export declare const CREATE_ACCOUNT_WITH_SEED_DISCRIMINATOR = 3;
11
12
  export declare function getCreateAccountWithSeedDiscriminatorBytes(): ReadonlyUint8Array;
@@ -35,19 +36,19 @@ export type CreateAccountWithSeedInstructionDataArgs = {
35
36
  export declare function getCreateAccountWithSeedInstructionDataEncoder(): Encoder<CreateAccountWithSeedInstructionDataArgs>;
36
37
  export declare function getCreateAccountWithSeedInstructionDataDecoder(): Decoder<CreateAccountWithSeedInstructionData>;
37
38
  export declare function getCreateAccountWithSeedInstructionDataCodec(): Codec<CreateAccountWithSeedInstructionDataArgs, CreateAccountWithSeedInstructionData>;
38
- export type CreateAccountWithSeedInput<TAccountPayer extends string = string, TAccountNewAccount extends string = string, TAccountBaseAccount extends string = string> = {
39
- payer: TransactionSigner<TAccountPayer>;
40
- newAccount: Address<TAccountNewAccount>;
41
- baseAccount?: TransactionSigner<TAccountBaseAccount>;
39
+ export type CreateAccountWithSeedInput<TAccountPayer extends InstructionSignerInput = InstructionSignerInput, TAccountNewAccount extends InstructionAccountInput = InstructionAccountInput, TAccountBaseAccount extends InstructionSignerInput = InstructionSignerInput> = {
40
+ payer: TAccountPayer;
41
+ newAccount: TAccountNewAccount;
42
+ baseAccount?: TAccountBaseAccount;
42
43
  base: CreateAccountWithSeedInstructionDataArgs['base'];
43
44
  seed: CreateAccountWithSeedInstructionDataArgs['seed'];
44
45
  amount: CreateAccountWithSeedInstructionDataArgs['amount'];
45
46
  space: CreateAccountWithSeedInstructionDataArgs['space'];
46
47
  programAddress: CreateAccountWithSeedInstructionDataArgs['programAddress'];
47
48
  };
48
- export declare function getCreateAccountWithSeedInstruction<TAccountPayer extends string, TAccountNewAccount extends string, TAccountBaseAccount extends string, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: CreateAccountWithSeedInput<TAccountPayer, TAccountNewAccount, TAccountBaseAccount>, config?: {
49
+ export declare function getCreateAccountWithSeedInstruction<TAccountPayer extends InstructionSignerInput, TAccountNewAccount extends InstructionAccountInput, TAccountBaseAccount extends InstructionSignerInput, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: CreateAccountWithSeedInput<TAccountPayer, TAccountNewAccount, TAccountBaseAccount>, config?: {
49
50
  programAddress?: TProgramAddress;
50
- }): CreateAccountWithSeedInstruction<TProgramAddress, TAccountPayer, TAccountNewAccount, TAccountBaseAccount>;
51
+ }): CreateAccountWithSeedInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountPayer, InstructionAccountInputAddress<TAccountPayer>>, ResolvedInstructionAccountMeta<TAccountNewAccount, InstructionAccountInputAddress<TAccountNewAccount>>, ResolvedInstructionAccountMeta<TAccountBaseAccount, InstructionAccountInputAddress<TAccountBaseAccount>>>;
51
52
  export type ParsedCreateAccountWithSeedInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
52
53
  programAddress: Address<TProgram>;
53
54
  accounts: {
@@ -1 +1 @@
1
- {"version":3,"file":"createAccountWithSeed.d.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C9B,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GAC5C,sCAAsC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAwBjE"}
@@ -6,6 +6,7 @@
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
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
+ import { type InstructionAccountInput, type InstructionAccountInputAddress, type ResolvedInstructionAccountMeta } from '@solana/kit/program-client-core';
9
10
  import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
10
11
  export declare const INITIALIZE_NONCE_ACCOUNT_DISCRIMINATOR = 6;
11
12
  export declare function getInitializeNonceAccountDiscriminatorBytes(): ReadonlyUint8Array;
@@ -25,15 +26,15 @@ export type InitializeNonceAccountInstructionDataArgs = {
25
26
  export declare function getInitializeNonceAccountInstructionDataEncoder(): FixedSizeEncoder<InitializeNonceAccountInstructionDataArgs>;
26
27
  export declare function getInitializeNonceAccountInstructionDataDecoder(): FixedSizeDecoder<InitializeNonceAccountInstructionData>;
27
28
  export declare function getInitializeNonceAccountInstructionDataCodec(): FixedSizeCodec<InitializeNonceAccountInstructionDataArgs, InitializeNonceAccountInstructionData>;
28
- export type InitializeNonceAccountInput<TAccountNonceAccount extends string = string, TAccountRecentBlockhashesSysvar extends string = string, TAccountRentSysvar extends string = string> = {
29
- nonceAccount: Address<TAccountNonceAccount>;
30
- recentBlockhashesSysvar?: Address<TAccountRecentBlockhashesSysvar>;
31
- rentSysvar?: Address<TAccountRentSysvar>;
29
+ export type InitializeNonceAccountInput<TAccountNonceAccount extends InstructionAccountInput = InstructionAccountInput, TAccountRecentBlockhashesSysvar extends InstructionAccountInput = InstructionAccountInput, TAccountRentSysvar extends InstructionAccountInput = InstructionAccountInput> = {
30
+ nonceAccount: TAccountNonceAccount;
31
+ recentBlockhashesSysvar?: TAccountRecentBlockhashesSysvar;
32
+ rentSysvar?: TAccountRentSysvar;
32
33
  nonceAuthority: InitializeNonceAccountInstructionDataArgs['nonceAuthority'];
33
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
+ export declare function getInitializeNonceAccountInstruction<TAccountNonceAccount extends InstructionAccountInput, TAccountRecentBlockhashesSysvar extends InstructionAccountInput, TAccountRentSysvar extends InstructionAccountInput, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: InitializeNonceAccountInput<TAccountNonceAccount, TAccountRecentBlockhashesSysvar, TAccountRentSysvar>, config?: {
35
36
  programAddress?: TProgramAddress;
36
- }): InitializeNonceAccountInstruction<TProgramAddress, TAccountNonceAccount, TAccountRecentBlockhashesSysvar, TAccountRentSysvar>;
37
+ }): InitializeNonceAccountInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountNonceAccount, InstructionAccountInputAddress<TAccountNonceAccount>>, ResolvedInstructionAccountMeta<TAccountRecentBlockhashesSysvar, InstructionAccountInputAddress<TAccountRecentBlockhashesSysvar>>, ResolvedInstructionAccountMeta<TAccountRentSysvar, InstructionAccountInputAddress<TAccountRentSysvar>>>;
37
38
  export type ParsedInitializeNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
38
39
  programAddress: Address<TProgram>;
39
40
  accounts: {
@@ -1 +1 @@
1
- {"version":3,"file":"initializeNonceAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/initializeNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAWH,KAAK,WAAW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AAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC1C,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KAChC,CAAC;IACF,IAAI,EAAE,qCAAqC,CAAC;CAC/C,CAAC;AAEF,wBAAgB,sCAAsC,CAClD,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAC9B,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GAC5C,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,EAWH,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,EACvB,MAAM,aAAa,CAAC;AACrB,OAAO,EAEH,KAAK,uBAAuB,EAC5B,KAAK,8BAA8B,EAEnC,KAAK,8BAA8B,EACtC,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,sCAAsC,IAAI,CAAC;AAExD,wBAAgB,2CAA2C,IAAI,kBAAkB,CAEhF;AAED,MAAM,MAAM,iCAAiC,CACzC,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,oBAAoB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAClE,+BAA+B,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAChE,6CAA6C,EACjD,kBAAkB,SAAS,MAAM,G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  */
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';
8
+ import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyUint8Array, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
+ import { type InstructionAccountInput, type InstructionAccountInputAddress, type InstructionSignerInput, type ResolvedInstructionAccountMeta } from '@solana/kit/program-client-core';
9
10
  import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
10
11
  export declare const TRANSFER_SOL_DISCRIMINATOR = 2;
11
12
  export declare function getTransferSolDiscriminatorBytes(): ReadonlyUint8Array;
@@ -24,14 +25,14 @@ export type TransferSolInstructionDataArgs = {
24
25
  export declare function getTransferSolInstructionDataEncoder(): FixedSizeEncoder<TransferSolInstructionDataArgs>;
25
26
  export declare function getTransferSolInstructionDataDecoder(): FixedSizeDecoder<TransferSolInstructionData>;
26
27
  export declare function getTransferSolInstructionDataCodec(): FixedSizeCodec<TransferSolInstructionDataArgs, TransferSolInstructionData>;
27
- export type TransferSolInput<TAccountSource extends string = string, TAccountDestination extends string = string> = {
28
- source: TransactionSigner<TAccountSource>;
29
- destination: Address<TAccountDestination>;
28
+ export type TransferSolInput<TAccountSource extends InstructionSignerInput = InstructionSignerInput, TAccountDestination extends InstructionAccountInput = InstructionAccountInput> = {
29
+ source: TAccountSource;
30
+ destination: TAccountDestination;
30
31
  amount: TransferSolInstructionDataArgs['amount'];
31
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
+ export declare function getTransferSolInstruction<TAccountSource extends InstructionSignerInput, TAccountDestination extends InstructionAccountInput, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: TransferSolInput<TAccountSource, TAccountDestination>, config?: {
33
34
  programAddress?: TProgramAddress;
34
- }): TransferSolInstruction<TProgramAddress, TAccountSource, TAccountDestination>;
35
+ }): TransferSolInstruction<TProgramAddress, ResolvedInstructionAccountMeta<TAccountSource, InstructionAccountInputAddress<TAccountSource>>, ResolvedInstructionAccountMeta<TAccountDestination, InstructionAccountInputAddress<TAccountDestination>>>;
35
36
  export type ParsedTransferSolInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
36
37
  programAddress: Address<TProgram>;
37
38
  accounts: {
@@ -1 +1 @@
1
- {"version":3,"file":"transferSol.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/transferSol.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAWH,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,EAC7B,MAAM,aAAa,CAAC;AAErB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAErD,eAAO,MAAM,0BAA0B,IAAI,CAAC;AAE5C,wBAAgB,gCAAgC,IAAI,kBAAkB,CAErE;AAED,MAAM,MAAM,sBAAsB,CAC9B,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,kBA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