@solana-program/system 0.1.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 (64) hide show
  1. package/README.md +38 -0
  2. package/dist/src/index.js +1432 -0
  3. package/dist/src/index.js.map +1 -0
  4. package/dist/src/index.mjs +1320 -0
  5. package/dist/src/index.mjs.map +1 -0
  6. package/dist/types/src/generated/accounts/index.d.ts +9 -0
  7. package/dist/types/src/generated/accounts/index.d.ts.map +1 -0
  8. package/dist/types/src/generated/accounts/nonce.d.ts +38 -0
  9. package/dist/types/src/generated/accounts/nonce.d.ts.map +1 -0
  10. package/dist/types/src/generated/errors/index.d.ts +9 -0
  11. package/dist/types/src/generated/errors/index.d.ts.map +1 -0
  12. package/dist/types/src/generated/errors/system.d.ts +35 -0
  13. package/dist/types/src/generated/errors/system.d.ts.map +1 -0
  14. package/dist/types/src/generated/index.d.ts +14 -0
  15. package/dist/types/src/generated/index.d.ts.map +1 -0
  16. package/dist/types/src/generated/instructions/advanceNonceAccount.d.ts +58 -0
  17. package/dist/types/src/generated/instructions/advanceNonceAccount.d.ts.map +1 -0
  18. package/dist/types/src/generated/instructions/allocate.d.ts +51 -0
  19. package/dist/types/src/generated/instructions/allocate.d.ts.map +1 -0
  20. package/dist/types/src/generated/instructions/allocateWithSeed.d.ts +69 -0
  21. package/dist/types/src/generated/instructions/allocateWithSeed.d.ts.map +1 -0
  22. package/dist/types/src/generated/instructions/assign.d.ts +51 -0
  23. package/dist/types/src/generated/instructions/assign.d.ts.map +1 -0
  24. package/dist/types/src/generated/instructions/assignWithSeed.d.ts +65 -0
  25. package/dist/types/src/generated/instructions/assignWithSeed.d.ts.map +1 -0
  26. package/dist/types/src/generated/instructions/authorizeNonceAccount.d.ts +57 -0
  27. package/dist/types/src/generated/instructions/authorizeNonceAccount.d.ts.map +1 -0
  28. package/dist/types/src/generated/instructions/createAccount.d.ts +66 -0
  29. package/dist/types/src/generated/instructions/createAccount.d.ts.map +1 -0
  30. package/dist/types/src/generated/instructions/createAccountWithSeed.d.ts +79 -0
  31. package/dist/types/src/generated/instructions/createAccountWithSeed.d.ts.map +1 -0
  32. package/dist/types/src/generated/instructions/index.d.ts +21 -0
  33. package/dist/types/src/generated/instructions/index.d.ts.map +1 -0
  34. package/dist/types/src/generated/instructions/initializeNonceAccount.d.ts +62 -0
  35. package/dist/types/src/generated/instructions/initializeNonceAccount.d.ts.map +1 -0
  36. package/dist/types/src/generated/instructions/transferSol.d.ts +57 -0
  37. package/dist/types/src/generated/instructions/transferSol.d.ts.map +1 -0
  38. package/dist/types/src/generated/instructions/transferSolWithSeed.d.ts +71 -0
  39. package/dist/types/src/generated/instructions/transferSolWithSeed.d.ts.map +1 -0
  40. package/dist/types/src/generated/instructions/upgradeNonceAccount.d.ts +45 -0
  41. package/dist/types/src/generated/instructions/upgradeNonceAccount.d.ts.map +1 -0
  42. package/dist/types/src/generated/instructions/withdrawNonceAccount.d.ts +75 -0
  43. package/dist/types/src/generated/instructions/withdrawNonceAccount.d.ts.map +1 -0
  44. package/dist/types/src/generated/programs/index.d.ts +9 -0
  45. package/dist/types/src/generated/programs/index.d.ts.map +1 -0
  46. package/dist/types/src/generated/programs/system.d.ts +63 -0
  47. package/dist/types/src/generated/programs/system.d.ts.map +1 -0
  48. package/dist/types/src/generated/shared/index.d.ts +61 -0
  49. package/dist/types/src/generated/shared/index.d.ts.map +1 -0
  50. package/dist/types/src/generated/types/index.d.ts +10 -0
  51. package/dist/types/src/generated/types/index.d.ts.map +1 -0
  52. package/dist/types/src/generated/types/nonceState.d.ts +17 -0
  53. package/dist/types/src/generated/types/nonceState.d.ts.map +1 -0
  54. package/dist/types/src/generated/types/nonceVersion.d.ts +17 -0
  55. package/dist/types/src/generated/types/nonceVersion.d.ts.map +1 -0
  56. package/dist/types/src/index.d.ts +2 -0
  57. package/dist/types/src/index.d.ts.map +1 -0
  58. package/dist/types/test/_setup.d.ts +15 -0
  59. package/dist/types/test/_setup.d.ts.map +1 -0
  60. package/dist/types/test/initializeNonceAccount.test.d.ts +2 -0
  61. package/dist/types/test/initializeNonceAccount.test.d.ts.map +1 -0
  62. package/dist/types/test/transferSol.test.d.ts +2 -0
  63. package/dist/types/test/transferSol.test.d.ts.map +1 -0
  64. package/package.json +80 -0
@@ -0,0 +1,58 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the kinobi library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun kinobi to update it.
5
+ *
6
+ * @see https://github.com/metaplex-foundation/kinobi
7
+ */
8
+ import { Address } from '@solana/addresses';
9
+ import { Codec, Decoder, Encoder } from '@solana/codecs-core';
10
+ import { IAccountMeta, IInstruction, IInstructionWithAccounts, IInstructionWithData, ReadonlyAccount, ReadonlySignerAccount, WritableAccount } from '@solana/instructions';
11
+ import { IAccountSignerMeta, TransactionSigner } from '@solana/signers';
12
+ export type AdvanceNonceAccountInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountNonceAccount extends string | IAccountMeta<string> = string, TAccountRecentBlockhashesSysvar extends string | IAccountMeta<string> = 'SysvarRecentB1ockHashes11111111111111111111', TAccountNonceAuthority extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
13
+ TAccountNonceAccount extends string ? WritableAccount<TAccountNonceAccount> : TAccountNonceAccount,
14
+ TAccountRecentBlockhashesSysvar extends string ? ReadonlyAccount<TAccountRecentBlockhashesSysvar> : TAccountRecentBlockhashesSysvar,
15
+ TAccountNonceAuthority extends string ? ReadonlySignerAccount<TAccountNonceAuthority> : TAccountNonceAuthority,
16
+ ...TRemainingAccounts
17
+ ]>;
18
+ export type AdvanceNonceAccountInstructionWithSigners<TProgram extends string = '11111111111111111111111111111111', TAccountNonceAccount extends string | IAccountMeta<string> = string, TAccountRecentBlockhashesSysvar extends string | IAccountMeta<string> = 'SysvarRecentB1ockHashes11111111111111111111', TAccountNonceAuthority extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
19
+ TAccountNonceAccount extends string ? WritableAccount<TAccountNonceAccount> : TAccountNonceAccount,
20
+ TAccountRecentBlockhashesSysvar extends string ? ReadonlyAccount<TAccountRecentBlockhashesSysvar> : TAccountRecentBlockhashesSysvar,
21
+ TAccountNonceAuthority extends string ? ReadonlySignerAccount<TAccountNonceAuthority> & IAccountSignerMeta<TAccountNonceAuthority> : TAccountNonceAuthority,
22
+ ...TRemainingAccounts
23
+ ]>;
24
+ export type AdvanceNonceAccountInstructionData = {
25
+ discriminator: number;
26
+ };
27
+ export type AdvanceNonceAccountInstructionDataArgs = {};
28
+ export declare function getAdvanceNonceAccountInstructionDataEncoder(): Encoder<AdvanceNonceAccountInstructionDataArgs>;
29
+ export declare function getAdvanceNonceAccountInstructionDataDecoder(): Decoder<AdvanceNonceAccountInstructionData>;
30
+ export declare function getAdvanceNonceAccountInstructionDataCodec(): Codec<AdvanceNonceAccountInstructionDataArgs, AdvanceNonceAccountInstructionData>;
31
+ export type AdvanceNonceAccountInput<TAccountNonceAccount extends string, TAccountRecentBlockhashesSysvar extends string, TAccountNonceAuthority extends string> = {
32
+ nonceAccount: Address<TAccountNonceAccount>;
33
+ recentBlockhashesSysvar?: Address<TAccountRecentBlockhashesSysvar>;
34
+ nonceAuthority: Address<TAccountNonceAuthority>;
35
+ };
36
+ export type AdvanceNonceAccountInputWithSigners<TAccountNonceAccount extends string, TAccountRecentBlockhashesSysvar extends string, TAccountNonceAuthority extends string> = {
37
+ nonceAccount: Address<TAccountNonceAccount>;
38
+ recentBlockhashesSysvar?: Address<TAccountRecentBlockhashesSysvar>;
39
+ nonceAuthority: TransactionSigner<TAccountNonceAuthority>;
40
+ };
41
+ export declare function getAdvanceNonceAccountInstruction<TAccountNonceAccount extends string, TAccountRecentBlockhashesSysvar extends string, TAccountNonceAuthority extends string, TProgram extends string = '11111111111111111111111111111111'>(input: AdvanceNonceAccountInputWithSigners<TAccountNonceAccount, TAccountRecentBlockhashesSysvar, TAccountNonceAuthority>): AdvanceNonceAccountInstructionWithSigners<TProgram, TAccountNonceAccount, TAccountRecentBlockhashesSysvar, TAccountNonceAuthority>;
42
+ export declare function getAdvanceNonceAccountInstruction<TAccountNonceAccount extends string, TAccountRecentBlockhashesSysvar extends string, TAccountNonceAuthority extends string, TProgram extends string = '11111111111111111111111111111111'>(input: AdvanceNonceAccountInput<TAccountNonceAccount, TAccountRecentBlockhashesSysvar, TAccountNonceAuthority>): AdvanceNonceAccountInstruction<TProgram, TAccountNonceAccount, TAccountRecentBlockhashesSysvar, TAccountNonceAuthority>;
43
+ export declare function getAdvanceNonceAccountInstructionRaw<TProgram extends string = '11111111111111111111111111111111', TAccountNonceAccount extends string | IAccountMeta<string> = string, TAccountRecentBlockhashesSysvar extends string | IAccountMeta<string> = 'SysvarRecentB1ockHashes11111111111111111111', TAccountNonceAuthority extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []>(accounts: {
44
+ nonceAccount: TAccountNonceAccount extends string ? Address<TAccountNonceAccount> : TAccountNonceAccount;
45
+ recentBlockhashesSysvar?: TAccountRecentBlockhashesSysvar extends string ? Address<TAccountRecentBlockhashesSysvar> : TAccountRecentBlockhashesSysvar;
46
+ nonceAuthority: TAccountNonceAuthority extends string ? Address<TAccountNonceAuthority> : TAccountNonceAuthority;
47
+ }, programAddress?: Address<TProgram>, remainingAccounts?: TRemainingAccounts): AdvanceNonceAccountInstruction<TProgram, TAccountNonceAccount, TAccountRecentBlockhashesSysvar, TAccountNonceAuthority, TRemainingAccounts>;
48
+ export type ParsedAdvanceNonceAccountInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
49
+ programAddress: Address<TProgram>;
50
+ accounts: {
51
+ nonceAccount: TAccountMetas[0];
52
+ recentBlockhashesSysvar: TAccountMetas[1];
53
+ nonceAuthority: TAccountMetas[2];
54
+ };
55
+ data: AdvanceNonceAccountInstructionData;
56
+ };
57
+ export declare function parseAdvanceNonceAccountInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedAdvanceNonceAccountInstruction<TProgram, TAccountMetas>;
58
+ //# sourceMappingURL=advanceNonceAccount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"advanceNonceAccount.d.ts","sourceRoot":"","sources":["../../../../../src/generated/instructions/advanceNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACL,KAAK,EACL,OAAO,EACP,OAAO,EAGR,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EAEL,YAAY,EACZ,YAAY,EACZ,wBAAwB,EACxB,oBAAoB,EACpB,eAAe,EACf,qBAAqB,EACrB,eAAe,EAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAOxE,MAAM,MAAM,8BAA8B,CACxC,QAAQ,SAAS,MAAM,GAAG,kCAAkC,EAC5D,oBAAoB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EACnE,+BAA+B,SAC3B,MAAM,GACN,YAAY,CAAC,MAAM,CAAC,GAAG,6CAA6C,EACxE,sBAAsB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EACrE,kBAAkB,SAAS,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IACzD,YAAY,CAAC,QAAQ,CAAC,GACxB,oBAAoB,CAAC,UAAU,CAAC,GAChC,wBAAwB,CACtB;IACE,oBAAoB,SAAS,MAAM,GAC/B,eAA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AAY,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,CAsB/D"}
@@ -0,0 +1,51 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the kinobi library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun kinobi to update it.
5
+ *
6
+ * @see https://github.com/metaplex-foundation/kinobi
7
+ */
8
+ import { Address } from '@solana/addresses';
9
+ import { Codec, Decoder, Encoder } from '@solana/codecs-core';
10
+ import { IAccountMeta, IInstruction, IInstructionWithAccounts, IInstructionWithData, WritableSignerAccount } from '@solana/instructions';
11
+ import { IAccountSignerMeta, TransactionSigner } from '@solana/signers';
12
+ export type AllocateInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountNewAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
13
+ TAccountNewAccount extends string ? WritableSignerAccount<TAccountNewAccount> : TAccountNewAccount,
14
+ ...TRemainingAccounts
15
+ ]>;
16
+ export type AllocateInstructionWithSigners<TProgram extends string = '11111111111111111111111111111111', TAccountNewAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
17
+ TAccountNewAccount extends string ? WritableSignerAccount<TAccountNewAccount> & IAccountSignerMeta<TAccountNewAccount> : TAccountNewAccount,
18
+ ...TRemainingAccounts
19
+ ]>;
20
+ export type AllocateInstructionData = {
21
+ discriminator: number;
22
+ space: bigint;
23
+ };
24
+ export type AllocateInstructionDataArgs = {
25
+ space: number | bigint;
26
+ };
27
+ export declare function getAllocateInstructionDataEncoder(): Encoder<AllocateInstructionDataArgs>;
28
+ export declare function getAllocateInstructionDataDecoder(): Decoder<AllocateInstructionData>;
29
+ export declare function getAllocateInstructionDataCodec(): Codec<AllocateInstructionDataArgs, AllocateInstructionData>;
30
+ export type AllocateInput<TAccountNewAccount extends string> = {
31
+ newAccount: Address<TAccountNewAccount>;
32
+ space: AllocateInstructionDataArgs['space'];
33
+ };
34
+ export type AllocateInputWithSigners<TAccountNewAccount extends string> = {
35
+ newAccount: TransactionSigner<TAccountNewAccount>;
36
+ space: AllocateInstructionDataArgs['space'];
37
+ };
38
+ export declare function getAllocateInstruction<TAccountNewAccount extends string, TProgram extends string = '11111111111111111111111111111111'>(input: AllocateInputWithSigners<TAccountNewAccount>): AllocateInstructionWithSigners<TProgram, TAccountNewAccount>;
39
+ export declare function getAllocateInstruction<TAccountNewAccount extends string, TProgram extends string = '11111111111111111111111111111111'>(input: AllocateInput<TAccountNewAccount>): AllocateInstruction<TProgram, TAccountNewAccount>;
40
+ export declare function getAllocateInstructionRaw<TProgram extends string = '11111111111111111111111111111111', TAccountNewAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []>(accounts: {
41
+ newAccount: TAccountNewAccount extends string ? Address<TAccountNewAccount> : TAccountNewAccount;
42
+ }, args: AllocateInstructionDataArgs, programAddress?: Address<TProgram>, remainingAccounts?: TRemainingAccounts): AllocateInstruction<TProgram, TAccountNewAccount, TRemainingAccounts>;
43
+ export type ParsedAllocateInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
44
+ programAddress: Address<TProgram>;
45
+ accounts: {
46
+ newAccount: TAccountMetas[0];
47
+ };
48
+ data: AllocateInstructionData;
49
+ };
50
+ export declare function parseAllocateInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedAllocateInstruction<TProgram, TAccountMetas>;
51
+ //# sourceMappingURL=allocate.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EAC5D,kBAAkB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EACjE,kBAAkB,SAAS,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAE3D,QAAQ,EAAE;IACR,UAAU,EAAE,kBAAkB,SAAS,MAAM,GACzC,OAAO,CAAC,kBAAkB,CAAC,GAC3B,kBAAkB,CAAC;CACxB,EACD,IAAI,EAAE,2BAA2B,EACjC,cAAc,GAAE,OAAO,CAAC,QAAQ,CAA2D,EAC3F,iBAAiB,CAAC,EAAE,kBAAkB,yEAUvC;AAED,MAAM,MAAM,yBAAyB,CACnC,QAAQ,SAAS,MAAM,GAAG,kCAAkC,EAC5D,aAAa,SAAS,SAAS,YAAY,EAAE,GAAG,SAAS,YAAY,EAAE,IACrE;IACF,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACR,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KAC9B,CAAC;IACF,IAAI,EAAE,uBAAuB,CAAC;CAC/B,CAAC;AAEF,wBAAgB,wBAAwB,CACtC,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,yBAAyB,CAAC,QAAQ,EAAE,aAAa,CAAC,CAkBpD"}
@@ -0,0 +1,69 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the kinobi library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun kinobi to update it.
5
+ *
6
+ * @see https://github.com/metaplex-foundation/kinobi
7
+ */
8
+ import { Address } from '@solana/addresses';
9
+ import { Codec, Decoder, Encoder } from '@solana/codecs-core';
10
+ import { IAccountMeta, IInstruction, IInstructionWithAccounts, IInstructionWithData, ReadonlySignerAccount, WritableAccount } from '@solana/instructions';
11
+ import { IAccountSignerMeta, TransactionSigner } from '@solana/signers';
12
+ export type AllocateWithSeedInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountNewAccount extends string | IAccountMeta<string> = string, TAccountBaseAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
13
+ TAccountNewAccount extends string ? WritableAccount<TAccountNewAccount> : TAccountNewAccount,
14
+ TAccountBaseAccount extends string ? ReadonlySignerAccount<TAccountBaseAccount> : TAccountBaseAccount,
15
+ ...TRemainingAccounts
16
+ ]>;
17
+ export type AllocateWithSeedInstructionWithSigners<TProgram extends string = '11111111111111111111111111111111', TAccountNewAccount extends string | IAccountMeta<string> = string, TAccountBaseAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
18
+ TAccountNewAccount extends string ? WritableAccount<TAccountNewAccount> : TAccountNewAccount,
19
+ TAccountBaseAccount extends string ? ReadonlySignerAccount<TAccountBaseAccount> & IAccountSignerMeta<TAccountBaseAccount> : TAccountBaseAccount,
20
+ ...TRemainingAccounts
21
+ ]>;
22
+ export type AllocateWithSeedInstructionData = {
23
+ discriminator: number;
24
+ base: Address;
25
+ seed: string;
26
+ space: bigint;
27
+ programAddress: Address;
28
+ };
29
+ export type AllocateWithSeedInstructionDataArgs = {
30
+ base: Address;
31
+ seed: string;
32
+ space: number | bigint;
33
+ programAddress: Address;
34
+ };
35
+ export declare function getAllocateWithSeedInstructionDataEncoder(): Encoder<AllocateWithSeedInstructionDataArgs>;
36
+ export declare function getAllocateWithSeedInstructionDataDecoder(): Decoder<AllocateWithSeedInstructionData>;
37
+ export declare function getAllocateWithSeedInstructionDataCodec(): Codec<AllocateWithSeedInstructionDataArgs, AllocateWithSeedInstructionData>;
38
+ export type AllocateWithSeedInput<TAccountNewAccount extends string, TAccountBaseAccount extends string> = {
39
+ newAccount: Address<TAccountNewAccount>;
40
+ baseAccount: Address<TAccountBaseAccount>;
41
+ base: AllocateWithSeedInstructionDataArgs['base'];
42
+ seed: AllocateWithSeedInstructionDataArgs['seed'];
43
+ space: AllocateWithSeedInstructionDataArgs['space'];
44
+ programAddress: AllocateWithSeedInstructionDataArgs['programAddress'];
45
+ };
46
+ export type AllocateWithSeedInputWithSigners<TAccountNewAccount extends string, TAccountBaseAccount extends string> = {
47
+ newAccount: Address<TAccountNewAccount>;
48
+ baseAccount: TransactionSigner<TAccountBaseAccount>;
49
+ base: AllocateWithSeedInstructionDataArgs['base'];
50
+ seed: AllocateWithSeedInstructionDataArgs['seed'];
51
+ space: AllocateWithSeedInstructionDataArgs['space'];
52
+ programAddress: AllocateWithSeedInstructionDataArgs['programAddress'];
53
+ };
54
+ export declare function getAllocateWithSeedInstruction<TAccountNewAccount extends string, TAccountBaseAccount extends string, TProgram extends string = '11111111111111111111111111111111'>(input: AllocateWithSeedInputWithSigners<TAccountNewAccount, TAccountBaseAccount>): AllocateWithSeedInstructionWithSigners<TProgram, TAccountNewAccount, TAccountBaseAccount>;
55
+ export declare function getAllocateWithSeedInstruction<TAccountNewAccount extends string, TAccountBaseAccount extends string, TProgram extends string = '11111111111111111111111111111111'>(input: AllocateWithSeedInput<TAccountNewAccount, TAccountBaseAccount>): AllocateWithSeedInstruction<TProgram, TAccountNewAccount, TAccountBaseAccount>;
56
+ export declare function getAllocateWithSeedInstructionRaw<TProgram extends string = '11111111111111111111111111111111', TAccountNewAccount extends string | IAccountMeta<string> = string, TAccountBaseAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []>(accounts: {
57
+ newAccount: TAccountNewAccount extends string ? Address<TAccountNewAccount> : TAccountNewAccount;
58
+ baseAccount: TAccountBaseAccount extends string ? Address<TAccountBaseAccount> : TAccountBaseAccount;
59
+ }, args: AllocateWithSeedInstructionDataArgs, programAddress?: Address<TProgram>, remainingAccounts?: TRemainingAccounts): AllocateWithSeedInstruction<TProgram, TAccountNewAccount, TAccountBaseAccount, TRemainingAccounts>;
60
+ export type ParsedAllocateWithSeedInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
61
+ programAddress: Address<TProgram>;
62
+ accounts: {
63
+ newAccount: TAccountMetas[0];
64
+ baseAccount: TAccountMetas[1];
65
+ };
66
+ data: AllocateWithSeedInstructionData;
67
+ };
68
+ export declare function parseAllocateWithSeedInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedAllocateWithSeedInstruction<TProgram, TAccountMetas>;
69
+ //# sourceMappingURL=allocateWithSeed.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"allocateWithSeed.d.ts","sourceRoot":"","sources":["../../../../../src/generated/instructions/allocateWithSeed.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,OAAO,EAGR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,OAAO,EACP,OAAO,EAGR,MAAM,qBAAqB,CAAC;AAY7B,OAAO,EAEL,YAAY,EACZ,YAAY,EACZ,wBAAwB,EACxB,oBAAoB,EACpB,qBAAqB,EACrB,eAAe,EAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAOxE,MAAM,MAAM,2BAA2B,CACrC,QAAQ,SAAS,MAAM,GAAG,kCAAkC,EAC5D,kBAAkB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EACjE,mBAAmB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EAClE,kBAAkB,SAAS,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC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ACvC,CAAC;AAEF,wBAAgB,gCAAgC,CAC9C,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,iCAAiC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAmB5D"}
@@ -0,0 +1,51 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the kinobi library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun kinobi to update it.
5
+ *
6
+ * @see https://github.com/metaplex-foundation/kinobi
7
+ */
8
+ import { Address } from '@solana/addresses';
9
+ import { Codec, Decoder, Encoder } from '@solana/codecs-core';
10
+ import { IAccountMeta, IInstruction, IInstructionWithAccounts, IInstructionWithData, WritableSignerAccount } from '@solana/instructions';
11
+ import { IAccountSignerMeta, TransactionSigner } from '@solana/signers';
12
+ export type AssignInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
13
+ TAccountAccount extends string ? WritableSignerAccount<TAccountAccount> : TAccountAccount,
14
+ ...TRemainingAccounts
15
+ ]>;
16
+ export type AssignInstructionWithSigners<TProgram extends string = '11111111111111111111111111111111', TAccountAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
17
+ TAccountAccount extends string ? WritableSignerAccount<TAccountAccount> & IAccountSignerMeta<TAccountAccount> : TAccountAccount,
18
+ ...TRemainingAccounts
19
+ ]>;
20
+ export type AssignInstructionData = {
21
+ discriminator: number;
22
+ programAddress: Address;
23
+ };
24
+ export type AssignInstructionDataArgs = {
25
+ programAddress: Address;
26
+ };
27
+ export declare function getAssignInstructionDataEncoder(): Encoder<AssignInstructionDataArgs>;
28
+ export declare function getAssignInstructionDataDecoder(): Decoder<AssignInstructionData>;
29
+ export declare function getAssignInstructionDataCodec(): Codec<AssignInstructionDataArgs, AssignInstructionData>;
30
+ export type AssignInput<TAccountAccount extends string> = {
31
+ account: Address<TAccountAccount>;
32
+ programAddress: AssignInstructionDataArgs['programAddress'];
33
+ };
34
+ export type AssignInputWithSigners<TAccountAccount extends string> = {
35
+ account: TransactionSigner<TAccountAccount>;
36
+ programAddress: AssignInstructionDataArgs['programAddress'];
37
+ };
38
+ export declare function getAssignInstruction<TAccountAccount extends string, TProgram extends string = '11111111111111111111111111111111'>(input: AssignInputWithSigners<TAccountAccount>): AssignInstructionWithSigners<TProgram, TAccountAccount>;
39
+ export declare function getAssignInstruction<TAccountAccount extends string, TProgram extends string = '11111111111111111111111111111111'>(input: AssignInput<TAccountAccount>): AssignInstruction<TProgram, TAccountAccount>;
40
+ export declare function getAssignInstructionRaw<TProgram extends string = '11111111111111111111111111111111', TAccountAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []>(accounts: {
41
+ account: TAccountAccount extends string ? Address<TAccountAccount> : TAccountAccount;
42
+ }, args: AssignInstructionDataArgs, programAddress?: Address<TProgram>, remainingAccounts?: TRemainingAccounts): AssignInstruction<TProgram, TAccountAccount, TRemainingAccounts>;
43
+ export type ParsedAssignInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
44
+ programAddress: Address<TProgram>;
45
+ accounts: {
46
+ account: TAccountMetas[0];
47
+ };
48
+ data: AssignInstructionData;
49
+ };
50
+ export declare function parseAssignInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedAssignInstruction<TProgram, TAccountMetas>;
51
+ //# sourceMappingURL=assign.d.ts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AAG,MAAM,EAC9D,kBAAkB,SAAS,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAE3D,QAAQ,EAAE;IACR,OAAO,EAAE,eAAe,SAAS,MAAM,GACnC,OAAO,CAAC,eAAe,CAAC,GACxB,eAAe,CAAC;CACrB,EACD,IAAI,EAAE,yBAAyB,EAC/B,cAAc,GAAE,OAAO,CAAC,QAAQ,CAA2D,EAC3F,iBAAiB,CAAC,EAAE,kBAAkB,oEAUvC;AAED,MAAM,MAAM,uBAAuB,CACjC,QAAQ,SAAS,MAAM,GAAG,kCAAkC,EAC5D,aAAa,SAAS,SAAS,YAAY,EAAE,GAAG,SAAS,YAAY,EAAE,IACrE;IACF,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACR,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KAC3B,CAAC;IACF,IAAI,EAAE,qBAAqB,CAAC;CAC7B,CAAC;AAEF,wBAAgB,sBAAsB,CACpC,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,uBAAuB,CAAC,QAAQ,EAAE,aAAa,CAAC,CAkBlD"}
@@ -0,0 +1,65 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the kinobi library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun kinobi to update it.
5
+ *
6
+ * @see https://github.com/metaplex-foundation/kinobi
7
+ */
8
+ import { Address } from '@solana/addresses';
9
+ import { Codec, Decoder, Encoder } from '@solana/codecs-core';
10
+ import { IAccountMeta, IInstruction, IInstructionWithAccounts, IInstructionWithData, ReadonlySignerAccount, WritableAccount } from '@solana/instructions';
11
+ import { IAccountSignerMeta, TransactionSigner } from '@solana/signers';
12
+ export type AssignWithSeedInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountAccount extends string | IAccountMeta<string> = string, TAccountBaseAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
13
+ TAccountAccount extends string ? WritableAccount<TAccountAccount> : TAccountAccount,
14
+ TAccountBaseAccount extends string ? ReadonlySignerAccount<TAccountBaseAccount> : TAccountBaseAccount,
15
+ ...TRemainingAccounts
16
+ ]>;
17
+ export type AssignWithSeedInstructionWithSigners<TProgram extends string = '11111111111111111111111111111111', TAccountAccount extends string | IAccountMeta<string> = string, TAccountBaseAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
18
+ TAccountAccount extends string ? WritableAccount<TAccountAccount> : TAccountAccount,
19
+ TAccountBaseAccount extends string ? ReadonlySignerAccount<TAccountBaseAccount> & IAccountSignerMeta<TAccountBaseAccount> : TAccountBaseAccount,
20
+ ...TRemainingAccounts
21
+ ]>;
22
+ export type AssignWithSeedInstructionData = {
23
+ discriminator: number;
24
+ base: Address;
25
+ seed: string;
26
+ programAddress: Address;
27
+ };
28
+ export type AssignWithSeedInstructionDataArgs = {
29
+ base: Address;
30
+ seed: string;
31
+ programAddress: Address;
32
+ };
33
+ export declare function getAssignWithSeedInstructionDataEncoder(): Encoder<AssignWithSeedInstructionDataArgs>;
34
+ export declare function getAssignWithSeedInstructionDataDecoder(): Decoder<AssignWithSeedInstructionData>;
35
+ export declare function getAssignWithSeedInstructionDataCodec(): Codec<AssignWithSeedInstructionDataArgs, AssignWithSeedInstructionData>;
36
+ export type AssignWithSeedInput<TAccountAccount extends string, TAccountBaseAccount extends string> = {
37
+ account: Address<TAccountAccount>;
38
+ baseAccount: Address<TAccountBaseAccount>;
39
+ base: AssignWithSeedInstructionDataArgs['base'];
40
+ seed: AssignWithSeedInstructionDataArgs['seed'];
41
+ programAddress: AssignWithSeedInstructionDataArgs['programAddress'];
42
+ };
43
+ export type AssignWithSeedInputWithSigners<TAccountAccount extends string, TAccountBaseAccount extends string> = {
44
+ account: Address<TAccountAccount>;
45
+ baseAccount: TransactionSigner<TAccountBaseAccount>;
46
+ base: AssignWithSeedInstructionDataArgs['base'];
47
+ seed: AssignWithSeedInstructionDataArgs['seed'];
48
+ programAddress: AssignWithSeedInstructionDataArgs['programAddress'];
49
+ };
50
+ export declare function getAssignWithSeedInstruction<TAccountAccount extends string, TAccountBaseAccount extends string, TProgram extends string = '11111111111111111111111111111111'>(input: AssignWithSeedInputWithSigners<TAccountAccount, TAccountBaseAccount>): AssignWithSeedInstructionWithSigners<TProgram, TAccountAccount, TAccountBaseAccount>;
51
+ export declare function getAssignWithSeedInstruction<TAccountAccount extends string, TAccountBaseAccount extends string, TProgram extends string = '11111111111111111111111111111111'>(input: AssignWithSeedInput<TAccountAccount, TAccountBaseAccount>): AssignWithSeedInstruction<TProgram, TAccountAccount, TAccountBaseAccount>;
52
+ export declare function getAssignWithSeedInstructionRaw<TProgram extends string = '11111111111111111111111111111111', TAccountAccount extends string | IAccountMeta<string> = string, TAccountBaseAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []>(accounts: {
53
+ account: TAccountAccount extends string ? Address<TAccountAccount> : TAccountAccount;
54
+ baseAccount: TAccountBaseAccount extends string ? Address<TAccountBaseAccount> : TAccountBaseAccount;
55
+ }, args: AssignWithSeedInstructionDataArgs, programAddress?: Address<TProgram>, remainingAccounts?: TRemainingAccounts): AssignWithSeedInstruction<TProgram, TAccountAccount, TAccountBaseAccount, TRemainingAccounts>;
56
+ export type ParsedAssignWithSeedInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
57
+ programAddress: Address<TProgram>;
58
+ accounts: {
59
+ account: TAccountMetas[0];
60
+ baseAccount: TAccountMetas[1];
61
+ };
62
+ data: AssignWithSeedInstructionData;
63
+ };
64
+ export declare function parseAssignWithSeedInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedAssignWithSeedInstruction<TProgram, TAccountMetas>;
65
+ //# sourceMappingURL=assignWithSeed.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"assignWithSeed.d.ts","sourceRoot":"","sources":["../../../../../src/generated/instructions/assignWithSeed.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,OAAO,EAGR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,OAAO,EACP,OAAO,EAGR,MAAM,qBAAqB,CAAC;AAO7B,OAAO,EAEL,YAAY,EACZ,YAAY,EACZ,wBAAwB,EACxB,oBAAoB,EACpB,qBAAqB,EACrB,eAAe,EAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAOxE,MAAM,MAAM,yBAAyB,CACnC,QAAQ,SAAS,MAAM,GAAG,kCAAkC,EAC5D,eAAe,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EAC9D,mBAAmB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EAClE,kBAAkB,SAAS,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IACzD,YAAY,CAAC,QAAQ,CAAC,GACxB,oBAAoB,CAAC,UAAU,CAAC,GAChC,wBAAwB,CACtB;IACE,eAAe,SAAS,MAAM,GAC1B,eAAe,CAAC,eAAe,CAAC,GAChC,eAAe;IACnB,mBAAmB,SAAS,MAAM,GAC9B,qBAAqB,CAAC,mBAAmB,CAAC,GAC1C,mBAAmB;IACvB,GAAG,kBAAkB;CACtB,CAC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G,MAAM,EAClE,kBAAkB,SAAS,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAE3D,QAAQ,EAAE;IACR,OAAO,EAAE,eAAe,SAAS,MAAM,GACnC,OAAO,CAAC,eAAe,CAAC,GACxB,eAAe,CAAC;IACpB,WAAW,EAAE,mBAAmB,SAAS,MAAM,GAC3C,OAAO,CAAC,mBAAmB,CAAC,GAC5B,mBAAmB,CAAC;CACzB,EACD,IAAI,EAAE,iCAAiC,EACvC,cAAc,GAAE,OAAO,CAAC,QAAQ,CAA2D,EAC3F,iBAAiB,CAAC,EAAE,kBAAkB,iGAgBvC;AAED,MAAM,MAAM,+BAA+B,CACzC,QAAQ,SAAS,MAAM,GAAG,kCAAkC,EAC5D,aAAa,SAAS,SAAS,YAAY,EAAE,GAAG,SAAS,YAAY,EAAE,IACrE;IACF,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACR,OAAO,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC1B,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KAC/B,CAAC;IACF,IAAI,EAAE,6BAA6B,CAAC;CACrC,CAAC;AAEF,wBAAgB,8BAA8B,CAC5C,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,+BAA+B,CAAC,QAAQ,EAAE,aAAa,CAAC,CAmB1D"}
@@ -0,0 +1,57 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the kinobi library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun kinobi to update it.
5
+ *
6
+ * @see https://github.com/metaplex-foundation/kinobi
7
+ */
8
+ import { Address } from '@solana/addresses';
9
+ import { Codec, Decoder, Encoder } from '@solana/codecs-core';
10
+ import { IAccountMeta, IInstruction, IInstructionWithAccounts, IInstructionWithData, ReadonlySignerAccount, WritableAccount } from '@solana/instructions';
11
+ import { IAccountSignerMeta, TransactionSigner } from '@solana/signers';
12
+ export type AuthorizeNonceAccountInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountNonceAccount extends string | IAccountMeta<string> = string, TAccountNonceAuthority extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
13
+ TAccountNonceAccount extends string ? WritableAccount<TAccountNonceAccount> : TAccountNonceAccount,
14
+ TAccountNonceAuthority extends string ? ReadonlySignerAccount<TAccountNonceAuthority> : TAccountNonceAuthority,
15
+ ...TRemainingAccounts
16
+ ]>;
17
+ export type AuthorizeNonceAccountInstructionWithSigners<TProgram extends string = '11111111111111111111111111111111', TAccountNonceAccount extends string | IAccountMeta<string> = string, TAccountNonceAuthority extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
18
+ TAccountNonceAccount extends string ? WritableAccount<TAccountNonceAccount> : TAccountNonceAccount,
19
+ TAccountNonceAuthority extends string ? ReadonlySignerAccount<TAccountNonceAuthority> & IAccountSignerMeta<TAccountNonceAuthority> : TAccountNonceAuthority,
20
+ ...TRemainingAccounts
21
+ ]>;
22
+ export type AuthorizeNonceAccountInstructionData = {
23
+ discriminator: number;
24
+ newNonceAuthority: Address;
25
+ };
26
+ export type AuthorizeNonceAccountInstructionDataArgs = {
27
+ newNonceAuthority: Address;
28
+ };
29
+ export declare function getAuthorizeNonceAccountInstructionDataEncoder(): Encoder<AuthorizeNonceAccountInstructionDataArgs>;
30
+ export declare function getAuthorizeNonceAccountInstructionDataDecoder(): Decoder<AuthorizeNonceAccountInstructionData>;
31
+ export declare function getAuthorizeNonceAccountInstructionDataCodec(): Codec<AuthorizeNonceAccountInstructionDataArgs, AuthorizeNonceAccountInstructionData>;
32
+ export type AuthorizeNonceAccountInput<TAccountNonceAccount extends string, TAccountNonceAuthority extends string> = {
33
+ nonceAccount: Address<TAccountNonceAccount>;
34
+ nonceAuthority: Address<TAccountNonceAuthority>;
35
+ newNonceAuthority: AuthorizeNonceAccountInstructionDataArgs['newNonceAuthority'];
36
+ };
37
+ export type AuthorizeNonceAccountInputWithSigners<TAccountNonceAccount extends string, TAccountNonceAuthority extends string> = {
38
+ nonceAccount: Address<TAccountNonceAccount>;
39
+ nonceAuthority: TransactionSigner<TAccountNonceAuthority>;
40
+ newNonceAuthority: AuthorizeNonceAccountInstructionDataArgs['newNonceAuthority'];
41
+ };
42
+ export declare function getAuthorizeNonceAccountInstruction<TAccountNonceAccount extends string, TAccountNonceAuthority extends string, TProgram extends string = '11111111111111111111111111111111'>(input: AuthorizeNonceAccountInputWithSigners<TAccountNonceAccount, TAccountNonceAuthority>): AuthorizeNonceAccountInstructionWithSigners<TProgram, TAccountNonceAccount, TAccountNonceAuthority>;
43
+ export declare function getAuthorizeNonceAccountInstruction<TAccountNonceAccount extends string, TAccountNonceAuthority extends string, TProgram extends string = '11111111111111111111111111111111'>(input: AuthorizeNonceAccountInput<TAccountNonceAccount, TAccountNonceAuthority>): AuthorizeNonceAccountInstruction<TProgram, TAccountNonceAccount, TAccountNonceAuthority>;
44
+ export declare function getAuthorizeNonceAccountInstructionRaw<TProgram extends string = '11111111111111111111111111111111', TAccountNonceAccount extends string | IAccountMeta<string> = string, TAccountNonceAuthority extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []>(accounts: {
45
+ nonceAccount: TAccountNonceAccount extends string ? Address<TAccountNonceAccount> : TAccountNonceAccount;
46
+ nonceAuthority: TAccountNonceAuthority extends string ? Address<TAccountNonceAuthority> : TAccountNonceAuthority;
47
+ }, args: AuthorizeNonceAccountInstructionDataArgs, programAddress?: Address<TProgram>, remainingAccounts?: TRemainingAccounts): AuthorizeNonceAccountInstruction<TProgram, TAccountNonceAccount, TAccountNonceAuthority, TRemainingAccounts>;
48
+ export type ParsedAuthorizeNonceAccountInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
49
+ programAddress: Address<TProgram>;
50
+ accounts: {
51
+ nonceAccount: TAccountMetas[0];
52
+ nonceAuthority: TAccountMetas[1];
53
+ };
54
+ data: AuthorizeNonceAccountInstructionData;
55
+ };
56
+ export declare function parseAuthorizeNonceAccountInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedAuthorizeNonceAccountInstruction<TProgram, TAccountMetas>;
57
+ //# sourceMappingURL=authorizeNonceAccount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"authorizeNonceAccount.d.ts","sourceRoot":"","sources":["../../../../../src/generated/instructions/authorizeNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,OAAO,EAGR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,OAAO,EACP,OAAO,EAGR,MAAM,qBAAqB,CAAC;AAM7B,OAAO,EAEL,YAAY,EACZ,YAAY,EACZ,wBAAwB,EACxB,oBAAoB,EACpB,qBAAqB,EACrB,eAAe,EAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAOxE,MAAM,MAAM,gCAAgC,CAC1C,QAAQ,SAAS,MAAM,GAAG,kCAAkC,EAC5D,oBAAoB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EACnE,sBAAsB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EACrE,kBAAkB,SAAS,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,C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MAAM,EACrE,kBAAkB,SAAS,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,EAE3D,QAAQ,EAAE;IACR,YAAY,EAAE,oBAAoB,SAAS,MAAM,GAC7C,OAAO,CAAC,oBAAoB,CAAC,GAC7B,oBAAoB,CAAC;IACzB,cAAc,EAAE,sBAAsB,SAAS,MAAM,GACjD,OAAO,CAAC,sBAAsB,CAAC,GAC/B,sBAAsB,CAAC;CAC5B,EACD,IAAI,EAAE,wCAAwC,EAC9C,cAAc,GAAE,OAAO,CAAC,QAAQ,CAA2D,EAC3F,iBAAiB,CAAC,EAAE,kBAAkB,gHAmBvC;AAED,MAAM,MAAM,sCAAsC,CAChD,QAAQ,SAAS,MAAM,GAAG,kCAAkC,EAC5D,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;QAC/B,cAAc,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KAClC,CAAC;IACF,IAAI,EAAE,oCAAoC,CAAC;CAC5C,CAAC;AAEF,wBAAgB,qCAAqC,CACnD,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,sCAAsC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAqBjE"}
@@ -0,0 +1,66 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the kinobi library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun kinobi to update it.
5
+ *
6
+ * @see https://github.com/metaplex-foundation/kinobi
7
+ */
8
+ import { Address } from '@solana/addresses';
9
+ import { Codec, Decoder, Encoder } from '@solana/codecs-core';
10
+ import { IAccountMeta, IInstruction, IInstructionWithAccounts, IInstructionWithData, WritableSignerAccount } from '@solana/instructions';
11
+ import { IAccountSignerMeta, TransactionSigner } from '@solana/signers';
12
+ import { IInstructionWithByteDelta } from '../shared';
13
+ export type CreateAccountInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountPayer extends string | IAccountMeta<string> = string, TAccountNewAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
14
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> : TAccountPayer,
15
+ TAccountNewAccount extends string ? WritableSignerAccount<TAccountNewAccount> : TAccountNewAccount,
16
+ ...TRemainingAccounts
17
+ ]>;
18
+ export type CreateAccountInstructionWithSigners<TProgram extends string = '11111111111111111111111111111111', TAccountPayer extends string | IAccountMeta<string> = string, TAccountNewAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
19
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & IAccountSignerMeta<TAccountPayer> : TAccountPayer,
20
+ TAccountNewAccount extends string ? WritableSignerAccount<TAccountNewAccount> & IAccountSignerMeta<TAccountNewAccount> : TAccountNewAccount,
21
+ ...TRemainingAccounts
22
+ ]>;
23
+ export type CreateAccountInstructionData = {
24
+ discriminator: number;
25
+ lamports: bigint;
26
+ space: bigint;
27
+ programAddress: Address;
28
+ };
29
+ export type CreateAccountInstructionDataArgs = {
30
+ lamports: number | bigint;
31
+ space: number | bigint;
32
+ programAddress: Address;
33
+ };
34
+ export declare function getCreateAccountInstructionDataEncoder(): Encoder<CreateAccountInstructionDataArgs>;
35
+ export declare function getCreateAccountInstructionDataDecoder(): Decoder<CreateAccountInstructionData>;
36
+ export declare function getCreateAccountInstructionDataCodec(): Codec<CreateAccountInstructionDataArgs, CreateAccountInstructionData>;
37
+ export type CreateAccountInput<TAccountPayer extends string, TAccountNewAccount extends string> = {
38
+ payer: Address<TAccountPayer>;
39
+ newAccount: Address<TAccountNewAccount>;
40
+ lamports: CreateAccountInstructionDataArgs['lamports'];
41
+ space: CreateAccountInstructionDataArgs['space'];
42
+ programAddress: CreateAccountInstructionDataArgs['programAddress'];
43
+ };
44
+ export type CreateAccountInputWithSigners<TAccountPayer extends string, TAccountNewAccount extends string> = {
45
+ payer: TransactionSigner<TAccountPayer>;
46
+ newAccount: TransactionSigner<TAccountNewAccount>;
47
+ lamports: CreateAccountInstructionDataArgs['lamports'];
48
+ space: CreateAccountInstructionDataArgs['space'];
49
+ programAddress: CreateAccountInstructionDataArgs['programAddress'];
50
+ };
51
+ export declare function getCreateAccountInstruction<TAccountPayer extends string, TAccountNewAccount extends string, TProgram extends string = '11111111111111111111111111111111'>(input: CreateAccountInputWithSigners<TAccountPayer, TAccountNewAccount>): CreateAccountInstructionWithSigners<TProgram, TAccountPayer, TAccountNewAccount> & IInstructionWithByteDelta;
52
+ export declare function getCreateAccountInstruction<TAccountPayer extends string, TAccountNewAccount extends string, TProgram extends string = '11111111111111111111111111111111'>(input: CreateAccountInput<TAccountPayer, TAccountNewAccount>): CreateAccountInstruction<TProgram, TAccountPayer, TAccountNewAccount> & IInstructionWithByteDelta;
53
+ export declare function getCreateAccountInstructionRaw<TProgram extends string = '11111111111111111111111111111111', TAccountPayer extends string | IAccountMeta<string> = string, TAccountNewAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []>(accounts: {
54
+ payer: TAccountPayer extends string ? Address<TAccountPayer> : TAccountPayer;
55
+ newAccount: TAccountNewAccount extends string ? Address<TAccountNewAccount> : TAccountNewAccount;
56
+ }, args: CreateAccountInstructionDataArgs, programAddress?: Address<TProgram>, remainingAccounts?: TRemainingAccounts): CreateAccountInstruction<TProgram, TAccountPayer, TAccountNewAccount, TRemainingAccounts>;
57
+ export type ParsedCreateAccountInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
58
+ programAddress: Address<TProgram>;
59
+ accounts: {
60
+ payer: TAccountMetas[0];
61
+ newAccount: TAccountMetas[1];
62
+ };
63
+ data: CreateAccountInstructionData;
64
+ };
65
+ export declare function parseCreateAccountInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedCreateAccountInstruction<TProgram, TAccountMetas>;
66
+ //# sourceMappingURL=createAccount.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createAccount.d.ts","sourceRoot":"","sources":["../../../../../src/generated/instructions/createAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,EACL,OAAO,EAGR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,OAAO,EACP,OAAO,EAGR,MAAM,qBAAqB,CAAC;AAW7B,OAAO,EAEL,YAAY,EACZ,YAAY,EACZ,wBAAwB,EACxB,oBAAoB,EACpB,qBAAqB,EACtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EACL,yBAAyB,EAI1B,MAAM,WAAW,CAAC;AAEnB,MAAM,MAAM,wBAAwB,CAClC,QAAQ,SAAS,MAAM,GAAG,kCAAkC,EAC5D,aAAa,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EAC5D,kBAAkB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EACjE,kBAAkB,SAAS,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IACzD,YAAY,CAAC,QAAQ,CAAC,GACxB,oBAAoB,CAAC,UAAU,CAAC,GAChC,wBAAwB,CACtB;I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CAAC,QAAQ,EAAE,aAAa,CAAC,CAmBzD"}
@@ -0,0 +1,79 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the kinobi library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun kinobi to update it.
5
+ *
6
+ * @see https://github.com/metaplex-foundation/kinobi
7
+ */
8
+ import { Address } from '@solana/addresses';
9
+ import { Codec, Decoder, Encoder } from '@solana/codecs-core';
10
+ import { IAccountMeta, IInstruction, IInstructionWithAccounts, IInstructionWithData, ReadonlySignerAccount, WritableAccount, WritableSignerAccount } from '@solana/instructions';
11
+ import { IAccountSignerMeta, TransactionSigner } from '@solana/signers';
12
+ export type CreateAccountWithSeedInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountPayer extends string | IAccountMeta<string> = string, TAccountNewAccount extends string | IAccountMeta<string> = string, TAccountBaseAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
13
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> : TAccountPayer,
14
+ TAccountNewAccount extends string ? WritableAccount<TAccountNewAccount> : TAccountNewAccount,
15
+ TAccountBaseAccount extends string ? ReadonlySignerAccount<TAccountBaseAccount> : TAccountBaseAccount,
16
+ ...TRemainingAccounts
17
+ ]>;
18
+ export type CreateAccountWithSeedInstructionWithSigners<TProgram extends string = '11111111111111111111111111111111', TAccountPayer extends string | IAccountMeta<string> = string, TAccountNewAccount extends string | IAccountMeta<string> = string, TAccountBaseAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
19
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & IAccountSignerMeta<TAccountPayer> : TAccountPayer,
20
+ TAccountNewAccount extends string ? WritableAccount<TAccountNewAccount> : TAccountNewAccount,
21
+ TAccountBaseAccount extends string ? ReadonlySignerAccount<TAccountBaseAccount> & IAccountSignerMeta<TAccountBaseAccount> : TAccountBaseAccount,
22
+ ...TRemainingAccounts
23
+ ]>;
24
+ export type CreateAccountWithSeedInstructionData = {
25
+ discriminator: number;
26
+ base: Address;
27
+ seed: string;
28
+ amount: bigint;
29
+ space: bigint;
30
+ programAddress: Address;
31
+ };
32
+ export type CreateAccountWithSeedInstructionDataArgs = {
33
+ base: Address;
34
+ seed: string;
35
+ amount: number | bigint;
36
+ space: number | bigint;
37
+ programAddress: Address;
38
+ };
39
+ export declare function getCreateAccountWithSeedInstructionDataEncoder(): Encoder<CreateAccountWithSeedInstructionDataArgs>;
40
+ export declare function getCreateAccountWithSeedInstructionDataDecoder(): Decoder<CreateAccountWithSeedInstructionData>;
41
+ export declare function getCreateAccountWithSeedInstructionDataCodec(): Codec<CreateAccountWithSeedInstructionDataArgs, CreateAccountWithSeedInstructionData>;
42
+ export type CreateAccountWithSeedInput<TAccountPayer extends string, TAccountNewAccount extends string, TAccountBaseAccount extends string> = {
43
+ payer: Address<TAccountPayer>;
44
+ newAccount: Address<TAccountNewAccount>;
45
+ baseAccount: Address<TAccountBaseAccount>;
46
+ base: CreateAccountWithSeedInstructionDataArgs['base'];
47
+ seed: CreateAccountWithSeedInstructionDataArgs['seed'];
48
+ amount: CreateAccountWithSeedInstructionDataArgs['amount'];
49
+ space: CreateAccountWithSeedInstructionDataArgs['space'];
50
+ programAddress: CreateAccountWithSeedInstructionDataArgs['programAddress'];
51
+ };
52
+ export type CreateAccountWithSeedInputWithSigners<TAccountPayer extends string, TAccountNewAccount extends string, TAccountBaseAccount extends string> = {
53
+ payer: TransactionSigner<TAccountPayer>;
54
+ newAccount: Address<TAccountNewAccount>;
55
+ baseAccount: TransactionSigner<TAccountBaseAccount>;
56
+ base: CreateAccountWithSeedInstructionDataArgs['base'];
57
+ seed: CreateAccountWithSeedInstructionDataArgs['seed'];
58
+ amount: CreateAccountWithSeedInstructionDataArgs['amount'];
59
+ space: CreateAccountWithSeedInstructionDataArgs['space'];
60
+ programAddress: CreateAccountWithSeedInstructionDataArgs['programAddress'];
61
+ };
62
+ export declare function getCreateAccountWithSeedInstruction<TAccountPayer extends string, TAccountNewAccount extends string, TAccountBaseAccount extends string, TProgram extends string = '11111111111111111111111111111111'>(input: CreateAccountWithSeedInputWithSigners<TAccountPayer, TAccountNewAccount, TAccountBaseAccount>): CreateAccountWithSeedInstructionWithSigners<TProgram, TAccountPayer, TAccountNewAccount, TAccountBaseAccount>;
63
+ export declare function getCreateAccountWithSeedInstruction<TAccountPayer extends string, TAccountNewAccount extends string, TAccountBaseAccount extends string, TProgram extends string = '11111111111111111111111111111111'>(input: CreateAccountWithSeedInput<TAccountPayer, TAccountNewAccount, TAccountBaseAccount>): CreateAccountWithSeedInstruction<TProgram, TAccountPayer, TAccountNewAccount, TAccountBaseAccount>;
64
+ export declare function getCreateAccountWithSeedInstructionRaw<TProgram extends string = '11111111111111111111111111111111', TAccountPayer extends string | IAccountMeta<string> = string, TAccountNewAccount extends string | IAccountMeta<string> = string, TAccountBaseAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []>(accounts: {
65
+ payer: TAccountPayer extends string ? Address<TAccountPayer> : TAccountPayer;
66
+ newAccount: TAccountNewAccount extends string ? Address<TAccountNewAccount> : TAccountNewAccount;
67
+ baseAccount: TAccountBaseAccount extends string ? Address<TAccountBaseAccount> : TAccountBaseAccount;
68
+ }, args: CreateAccountWithSeedInstructionDataArgs, programAddress?: Address<TProgram>, remainingAccounts?: TRemainingAccounts): CreateAccountWithSeedInstruction<TProgram, TAccountPayer, TAccountNewAccount, TAccountBaseAccount, TRemainingAccounts>;
69
+ export type ParsedCreateAccountWithSeedInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
70
+ programAddress: Address<TProgram>;
71
+ accounts: {
72
+ payer: TAccountMetas[0];
73
+ newAccount: TAccountMetas[1];
74
+ baseAccount: TAccountMetas[2];
75
+ };
76
+ data: CreateAccountWithSeedInstructionData;
77
+ };
78
+ export declare function parseCreateAccountWithSeedInstruction<TProgram extends string, TAccountMetas extends readonly IAccountMeta[]>(instruction: IInstruction<TProgram> & IInstructionWithAccounts<TAccountMetas> & IInstructionWithData<Uint8Array>): ParsedCreateAccountWithSeedInstruction<TProgram, TAccountMetas>;
79
+ //# sourceMappingURL=createAccountWithSeed.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createAccountWithSeed.d.ts","sourceRoot":"","sources":["../../../../../src/generated/instructions/createAccountWithSeed.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,OAAO,EAGR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,OAAO,EACP,OAAO,EAGR,MAAM,qBAAqB,CAAC;AAY7B,OAAO,EAEL,YAAY,EACZ,YAAY,EACZ,wBAAwB,EACxB,oBAAoB,EACpB,qBAAqB,EACrB,eAAe,EACf,qBAAqB,EACtB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AAOxE,MAAM,MAAM,gCAAgC,CAC1C,QAAQ,SAAS,MAAM,GAAG,kCAAkC,EAC5D,aAAa,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EAC5D,kBAAkB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EACjE,mBAAmB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EAClE,kBAAkB,SAAS,KAAK,CAAC,YAAY,CAAC,MAAM,CAAC,CAAC,GAAG,EAAE,IACzD,YAAY,CAAC,QAAQ,CAAC,GACxB,oBAAoB,CAAC,UAAU,CAAC,GAChC,wBAAwB,CACtB;IACE,aAAa,SAAS,MAAM,GACxB,qBAAqB,CAAC,aAAa,CAAC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