@solana/token-acl-gate-sdk 0.0.0 → 0.2.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 (43) hide show
  1. package/dist/src/index.js +740 -0
  2. package/dist/src/index.js.map +1 -0
  3. package/dist/src/index.mjs +665 -0
  4. package/dist/src/index.mjs.map +1 -0
  5. package/dist/types/generated/accounts/index.d.ts +10 -0
  6. package/dist/types/generated/accounts/index.d.ts.map +1 -0
  7. package/dist/types/generated/accounts/listConfig.d.ts +41 -0
  8. package/dist/types/generated/accounts/listConfig.d.ts.map +1 -0
  9. package/dist/types/generated/accounts/walletEntry.d.ts +37 -0
  10. package/dist/types/generated/accounts/walletEntry.d.ts.map +1 -0
  11. package/dist/types/generated/index.d.ts +13 -0
  12. package/dist/types/generated/index.d.ts.map +1 -0
  13. package/dist/types/generated/instructions/addWallet.d.ts +63 -0
  14. package/dist/types/generated/instructions/addWallet.d.ts.map +1 -0
  15. package/dist/types/generated/instructions/createList.d.ts +65 -0
  16. package/dist/types/generated/instructions/createList.d.ts.map +1 -0
  17. package/dist/types/generated/instructions/deleteList.d.ts +40 -0
  18. package/dist/types/generated/instructions/deleteList.d.ts.map +1 -0
  19. package/dist/types/generated/instructions/index.d.ts +13 -0
  20. package/dist/types/generated/instructions/index.d.ts.map +1 -0
  21. package/dist/types/generated/instructions/removeWallet.d.ts +43 -0
  22. package/dist/types/generated/instructions/removeWallet.d.ts.map +1 -0
  23. package/dist/types/generated/instructions/setupExtraMetas.d.ts +53 -0
  24. package/dist/types/generated/instructions/setupExtraMetas.d.ts.map +1 -0
  25. package/dist/types/generated/pdas/index.d.ts +10 -0
  26. package/dist/types/generated/pdas/index.d.ts.map +1 -0
  27. package/dist/types/generated/pdas/listConfig.d.ts +16 -0
  28. package/dist/types/generated/pdas/listConfig.d.ts.map +1 -0
  29. package/dist/types/generated/pdas/walletEntry.d.ts +16 -0
  30. package/dist/types/generated/pdas/walletEntry.d.ts.map +1 -0
  31. package/dist/types/generated/programs/index.d.ts +9 -0
  32. package/dist/types/generated/programs/index.d.ts.map +1 -0
  33. package/dist/types/generated/programs/tokenAclGateProgram.d.ts +39 -0
  34. package/dist/types/generated/programs/tokenAclGateProgram.d.ts.map +1 -0
  35. package/dist/types/generated/shared/index.d.ts +50 -0
  36. package/dist/types/generated/shared/index.d.ts.map +1 -0
  37. package/dist/types/generated/types/index.d.ts +9 -0
  38. package/dist/types/generated/types/index.d.ts.map +1 -0
  39. package/dist/types/generated/types/mode.d.ts +18 -0
  40. package/dist/types/generated/types/mode.d.ts.map +1 -0
  41. package/dist/types/index.d.ts +2 -0
  42. package/dist/types/index.d.ts.map +1 -0
  43. package/package.json +71 -7
@@ -0,0 +1,43 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
+ import { TOKEN_ACL_GATE_PROGRAM_PROGRAM_ADDRESS } from '../programs';
10
+ export declare const REMOVE_WALLET_DISCRIMINATOR = 3;
11
+ export declare function getRemoveWalletDiscriminatorBytes(): ReadonlyUint8Array;
12
+ export type RemoveWalletInstruction<TProgram extends string = typeof TOKEN_ACL_GATE_PROGRAM_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountListConfig extends string | AccountMeta<string> = string, TAccountWalletEntry extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
+ TAccountAuthority extends string ? WritableSignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
14
+ TAccountListConfig extends string ? WritableAccount<TAccountListConfig> : TAccountListConfig,
15
+ TAccountWalletEntry extends string ? WritableAccount<TAccountWalletEntry> : TAccountWalletEntry,
16
+ ...TRemainingAccounts
17
+ ]>;
18
+ export type RemoveWalletInstructionData = {
19
+ discriminator: number;
20
+ };
21
+ export type RemoveWalletInstructionDataArgs = {};
22
+ export declare function getRemoveWalletInstructionDataEncoder(): FixedSizeEncoder<RemoveWalletInstructionDataArgs>;
23
+ export declare function getRemoveWalletInstructionDataDecoder(): FixedSizeDecoder<RemoveWalletInstructionData>;
24
+ export declare function getRemoveWalletInstructionDataCodec(): FixedSizeCodec<RemoveWalletInstructionDataArgs, RemoveWalletInstructionData>;
25
+ export type RemoveWalletInput<TAccountAuthority extends string = string, TAccountListConfig extends string = string, TAccountWalletEntry extends string = string> = {
26
+ authority: TransactionSigner<TAccountAuthority>;
27
+ listConfig: Address<TAccountListConfig>;
28
+ walletEntry: Address<TAccountWalletEntry>;
29
+ };
30
+ export declare function getRemoveWalletInstruction<TAccountAuthority extends string, TAccountListConfig extends string, TAccountWalletEntry extends string, TProgramAddress extends Address = typeof TOKEN_ACL_GATE_PROGRAM_PROGRAM_ADDRESS>(input: RemoveWalletInput<TAccountAuthority, TAccountListConfig, TAccountWalletEntry>, config?: {
31
+ programAddress?: TProgramAddress;
32
+ }): RemoveWalletInstruction<TProgramAddress, TAccountAuthority, TAccountListConfig, TAccountWalletEntry>;
33
+ export type ParsedRemoveWalletInstruction<TProgram extends string = typeof TOKEN_ACL_GATE_PROGRAM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
34
+ programAddress: Address<TProgram>;
35
+ accounts: {
36
+ authority: TAccountMetas[0];
37
+ listConfig: TAccountMetas[1];
38
+ walletEntry: TAccountMetas[2];
39
+ };
40
+ data: RemoveWalletInstructionData;
41
+ };
42
+ export declare function parseRemoveWalletInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedRemoveWalletInstruction<TProgram, TAccountMetas>;
43
+ //# sourceMappingURL=removeWallet.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"removeWallet.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/removeWallet.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAOL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACrB,KAAK,WAAW,EAChB,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAC;AACrB,OAAO,EAAE,sCAAsC,EAAE,MAAM,aAAa,CAAC;AAGrE,eAAO,MAAM,2BAA2B,IAAI,CAAC;AAE7C,wBAAgB,iCAAiC,uBAEhD;AAED,MAAM,MAAM,uBAAuB,CACjC,QAAQ,SAAS,MAAM,GAAG,OAAO,sCAAsC,EACvE,iBAAiB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAC/D,kBAAkB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EAChE,mBAAmB,SAAS,MAAM,GAAG,WAAW,CAAC,MAAM,CAAC,GAAG,MAAM,EACjE,kBAAkB,SAAS,SAAS,WAAW,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,IAC5D,WAAW,CAAC,QAAQ,CAAC,GACvB,mBAAmB,CAAC,kBAAkB,CAAC,GACvC,uBAAuB,CACrB;IACE,iBAAiB,SAAS,MAAM,GAC5B,qBAAqB,CAAC,iBAAiB,CAAC,GACtC,iBAAiB,CAAC,iBAAiB,CAAC,GACt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6B,CACvC,QAAQ,SAAS,MAAM,GAAG,OAAO,sCAAsC,EACvE,aAAa,SAAS,SAAS,WAAW,EAAE,GAAG,SAAS,WAAW,EAAE,IACnE;IACF,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACR,SAAS,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC5B,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC7B,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KAC/B,CAAC;IACF,IAAI,EAAE,2BAA2B,CAAC;CACnC,CAAC;AAEF,wBAAgB,4BAA4B,CAC1C,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAChC,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GACxC,6BAA6B,CAAC,QAAQ,EAAE,aAAa,CAAC,CAoBxD"}
@@ -0,0 +1,53 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type 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, type WritableSignerAccount } from '@solana/kit';
9
+ import { TOKEN_ACL_GATE_PROGRAM_PROGRAM_ADDRESS } from '../programs';
10
+ export declare const SETUP_EXTRA_METAS_DISCRIMINATOR = 4;
11
+ export declare function getSetupExtraMetasDiscriminatorBytes(): ReadonlyUint8Array;
12
+ export type SetupExtraMetasInstruction<TProgram extends string = typeof TOKEN_ACL_GATE_PROGRAM_PROGRAM_ADDRESS, TAccountAuthority extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountTokenAclMintConfig extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountExtraMetas extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
+ TAccountAuthority extends string ? ReadonlySignerAccount<TAccountAuthority> & AccountSignerMeta<TAccountAuthority> : TAccountAuthority,
14
+ TAccountPayer extends string ? WritableSignerAccount<TAccountPayer> & AccountSignerMeta<TAccountPayer> : TAccountPayer,
15
+ TAccountTokenAclMintConfig extends string ? ReadonlyAccount<TAccountTokenAclMintConfig> : TAccountTokenAclMintConfig,
16
+ TAccountMint extends string ? ReadonlyAccount<TAccountMint> : TAccountMint,
17
+ TAccountExtraMetas extends string ? WritableAccount<TAccountExtraMetas> : TAccountExtraMetas,
18
+ TAccountSystemProgram extends string ? ReadonlyAccount<TAccountSystemProgram> : TAccountSystemProgram,
19
+ ...TRemainingAccounts
20
+ ]>;
21
+ export type SetupExtraMetasInstructionData = {
22
+ discriminator: number;
23
+ };
24
+ export type SetupExtraMetasInstructionDataArgs = {};
25
+ export declare function getSetupExtraMetasInstructionDataEncoder(): FixedSizeEncoder<SetupExtraMetasInstructionDataArgs>;
26
+ export declare function getSetupExtraMetasInstructionDataDecoder(): FixedSizeDecoder<SetupExtraMetasInstructionData>;
27
+ export declare function getSetupExtraMetasInstructionDataCodec(): FixedSizeCodec<SetupExtraMetasInstructionDataArgs, SetupExtraMetasInstructionData>;
28
+ export type SetupExtraMetasInput<TAccountAuthority extends string = string, TAccountPayer extends string = string, TAccountTokenAclMintConfig extends string = string, TAccountMint extends string = string, TAccountExtraMetas extends string = string, TAccountSystemProgram extends string = string> = {
29
+ authority: TransactionSigner<TAccountAuthority>;
30
+ payer: TransactionSigner<TAccountPayer>;
31
+ tokenAclMintConfig: Address<TAccountTokenAclMintConfig>;
32
+ mint: Address<TAccountMint>;
33
+ extraMetas: Address<TAccountExtraMetas>;
34
+ systemProgram?: Address<TAccountSystemProgram>;
35
+ lists: Array<Address>;
36
+ };
37
+ export declare function getSetupExtraMetasInstruction<TAccountAuthority extends string, TAccountPayer extends string, TAccountTokenAclMintConfig extends string, TAccountMint extends string, TAccountExtraMetas extends string, TAccountSystemProgram extends string, TProgramAddress extends Address = typeof TOKEN_ACL_GATE_PROGRAM_PROGRAM_ADDRESS>(input: SetupExtraMetasInput<TAccountAuthority, TAccountPayer, TAccountTokenAclMintConfig, TAccountMint, TAccountExtraMetas, TAccountSystemProgram>, config?: {
38
+ programAddress?: TProgramAddress;
39
+ }): SetupExtraMetasInstruction<TProgramAddress, TAccountAuthority, TAccountPayer, TAccountTokenAclMintConfig, TAccountMint, TAccountExtraMetas, TAccountSystemProgram>;
40
+ export type ParsedSetupExtraMetasInstruction<TProgram extends string = typeof TOKEN_ACL_GATE_PROGRAM_PROGRAM_ADDRESS, TAccountMetas extends readonly AccountMeta[] = readonly AccountMeta[]> = {
41
+ programAddress: Address<TProgram>;
42
+ accounts: {
43
+ authority: TAccountMetas[0];
44
+ payer: TAccountMetas[1];
45
+ tokenAclMintConfig: TAccountMetas[2];
46
+ mint: TAccountMetas[3];
47
+ extraMetas: TAccountMetas[4];
48
+ systemProgram: TAccountMetas[5];
49
+ };
50
+ data: SetupExtraMetasInstructionData;
51
+ };
52
+ export declare function parseSetupExtraMetasInstruction<TProgram extends string, TAccountMetas extends readonly AccountMeta[]>(instruction: Instruction<TProgram> & InstructionWithAccounts<TAccountMetas> & InstructionWithData<ReadonlyUint8Array>): ParsedSetupExtraMetasInstruction<TProgram, TAccountMetas>;
53
+ //# sourceMappingURL=setupExtraMetas.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setupExtraMetas.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/setupExtraMetas.ts"],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CACtC,CAAC;AAEF,wBAAgB,+BAA+B,CAC7C,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,WAAW,EAAE,EAE5C,WAAW,EAAE,WAAW,CAAC,QAAQ,CAAC,GAChC,uBAAuB,CAAC,aAAa,CAAC,GACtC,mBAAmB,CAAC,kBAAkB,CAAC,GACxC,gCAAgC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAuB3D"}
@@ -0,0 +1,10 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ export * from './listConfig';
9
+ export * from './walletEntry';
10
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/pdas/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,cAAc,CAAC;AAC7B,cAAc,eAAe,CAAC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type Address, type ProgramDerivedAddress } from '@solana/kit';
9
+ export type ListConfigSeeds = {
10
+ authority: Address;
11
+ seed: Address;
12
+ };
13
+ export declare function findListConfigPda(seeds: ListConfigSeeds, config?: {
14
+ programAddress?: Address | undefined;
15
+ }): Promise<ProgramDerivedAddress>;
16
+ //# sourceMappingURL=listConfig.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"listConfig.d.ts","sourceRoot":"","sources":["../../../../src/generated/pdas/listConfig.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAIL,KAAK,OAAO,EACZ,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,eAAe,GAAG;IAC5B,SAAS,EAAE,OAAO,CAAC;IACnB,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,wBAAsB,iBAAiB,CACrC,KAAK,EAAE,eAAe,EACtB,MAAM,GAAE;IAAE,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAO,GACpD,OAAO,CAAC,qBAAqB,CAAC,CAYhC"}
@@ -0,0 +1,16 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type Address, type ProgramDerivedAddress } from '@solana/kit';
9
+ export type WalletEntrySeeds = {
10
+ listConfig: Address;
11
+ wallet: Address;
12
+ };
13
+ export declare function findWalletEntryPda(seeds: WalletEntrySeeds, config?: {
14
+ programAddress?: Address | undefined;
15
+ }): Promise<ProgramDerivedAddress>;
16
+ //# sourceMappingURL=walletEntry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"walletEntry.d.ts","sourceRoot":"","sources":["../../../../src/generated/pdas/walletEntry.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAIL,KAAK,OAAO,EACZ,KAAK,qBAAqB,EAC3B,MAAM,aAAa,CAAC;AAErB,MAAM,MAAM,gBAAgB,GAAG;IAC7B,UAAU,EAAE,OAAO,CAAC;IACpB,MAAM,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,wBAAsB,kBAAkB,CACtC,KAAK,EAAE,gBAAgB,EACvB,MAAM,GAAE;IAAE,cAAc,CAAC,EAAE,OAAO,GAAG,SAAS,CAAA;CAAO,GACpD,OAAO,CAAC,qBAAqB,CAAC,CAYhC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ export * from './tokenAclGateProgram';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/programs/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,uBAAuB,CAAC"}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type Address, type ReadonlyUint8Array } from '@solana/kit';
9
+ import { type ParsedAddWalletInstruction, type ParsedCreateListInstruction, type ParsedDeleteListInstruction, type ParsedRemoveWalletInstruction, type ParsedSetupExtraMetasInstruction } from '../instructions';
10
+ export declare const TOKEN_ACL_GATE_PROGRAM_PROGRAM_ADDRESS: Address<"GATEzzqxhJnsWF6vHRsgtixxSB8PaQdcqGEVTEHWiULz">;
11
+ export declare enum TokenAclGateProgramAccount {
12
+ ListConfig = 0,
13
+ WalletEntry = 1
14
+ }
15
+ export declare function identifyTokenAclGateProgramAccount(account: {
16
+ data: ReadonlyUint8Array;
17
+ } | ReadonlyUint8Array): TokenAclGateProgramAccount;
18
+ export declare enum TokenAclGateProgramInstruction {
19
+ CreateList = 0,
20
+ AddWallet = 1,
21
+ RemoveWallet = 2,
22
+ SetupExtraMetas = 3,
23
+ DeleteList = 4
24
+ }
25
+ export declare function identifyTokenAclGateProgramInstruction(instruction: {
26
+ data: ReadonlyUint8Array;
27
+ } | ReadonlyUint8Array): TokenAclGateProgramInstruction;
28
+ export type ParsedTokenAclGateProgramInstruction<TProgram extends string = 'GATEzzqxhJnsWF6vHRsgtixxSB8PaQdcqGEVTEHWiULz'> = ({
29
+ instructionType: TokenAclGateProgramInstruction.CreateList;
30
+ } & ParsedCreateListInstruction<TProgram>) | ({
31
+ instructionType: TokenAclGateProgramInstruction.AddWallet;
32
+ } & ParsedAddWalletInstruction<TProgram>) | ({
33
+ instructionType: TokenAclGateProgramInstruction.RemoveWallet;
34
+ } & ParsedRemoveWalletInstruction<TProgram>) | ({
35
+ instructionType: TokenAclGateProgramInstruction.SetupExtraMetas;
36
+ } & ParsedSetupExtraMetasInstruction<TProgram>) | ({
37
+ instructionType: TokenAclGateProgramInstruction.DeleteList;
38
+ } & ParsedDeleteListInstruction<TProgram>);
39
+ //# sourceMappingURL=tokenAclGateProgram.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tokenAclGateProgram.d.ts","sourceRoot":"","sources":["../../../../src/generated/programs/tokenAclGateProgram.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAGL,KAAK,OAAO,EACZ,KAAK,kBAAkB,EACxB,MAAM,aAAa,CAAC;AACrB,OAAO,EACL,KAAK,0BAA0B,EAC/B,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,6BAA6B,EAClC,KAAK,gCAAgC,EACtC,MAAM,iBAAiB,CAAC;AAEzB,eAAO,MAAM,sCAAsC,EACC,OAAO,CAAC,8CAA8C,CAAC,CAAC;AAE5G,oBAAY,0BAA0B;IACpC,UAAU,IAAA;IACV,WAAW,IAAA;CACZ;AAED,wBAAgB,kCAAkC,CAChD,OAAO,EAAE;IAAE,IAAI,EAAE,kBAAkB,CAAA;CAAE,GAAG,kBAAkB,GACzD,0BAA0B,CAW5B;AAED,oBAAY,8BAA8B;IACxC,UAAU,IAAA;IACV,SAAS,IAAA;IACT,YAAY,IAAA;IACZ,eAAe,IAAA;IACf,UAAU,IAAA;CACX;AAED,wBAAgB,sCAAsC,CACpD,WAAW,EAAE;IAAE,IAAI,EAAE,kBAAkB,CAAA;CAAE,GAAG,kBAAkB,GAC7D,8BAA8B,CAoBhC;AAED,MAAM,MAAM,oCAAoC,CAC9C,QAAQ,SAAS,MAAM,GAAG,8CAA8C,IAEtE,CAAC;IACC,eAAe,EAAE,8BAA8B,CAAC,UAAU,CAAC;CAC5D,GAAG,2BAA2B,CAAC,QAAQ,CAAC,CAAC,GAC1C,CAAC;IACC,eAAe,EAAE,8BAA8B,CAAC,SAAS,CAAC;CAC3D,GAAG,0BAA0B,CAAC,QAAQ,CAAC,CAAC,GACzC,CAAC;IACC,eAAe,EAAE,8BAA8B,CAAC,YAAY,CAAC;CAC9D,GAAG,6BAA6B,CAAC,QAAQ,CAAC,CAAC,GAC5C,CAAC;IACC,eAAe,EAAE,8BAA8B,CAAC,eAAe,CAAC;CACjE,GAAG,gCAAgC,CAAC,QAAQ,CAAC,CAAC,GAC/C,CAAC;IACC,eAAe,EAAE,8BAA8B,CAAC,UAAU,CAAC;CAC5D,GAAG,2BAA2B,CAAC,QAAQ,CAAC,CAAC,CAAC"}
@@ -0,0 +1,50 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type AccountMeta, type AccountSignerMeta, type Address, type ProgramDerivedAddress, type TransactionSigner } from '@solana/kit';
9
+ /**
10
+ * Asserts that the given value is not null or undefined.
11
+ * @internal
12
+ */
13
+ export declare function expectSome<T>(value: T | null | undefined): T;
14
+ /**
15
+ * Asserts that the given value is a PublicKey.
16
+ * @internal
17
+ */
18
+ export declare function expectAddress<T extends string = string>(value: Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null | undefined): Address<T>;
19
+ /**
20
+ * Asserts that the given value is a PDA.
21
+ * @internal
22
+ */
23
+ export declare function expectProgramDerivedAddress<T extends string = string>(value: Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null | undefined): ProgramDerivedAddress<T>;
24
+ /**
25
+ * Asserts that the given value is a TransactionSigner.
26
+ * @internal
27
+ */
28
+ export declare function expectTransactionSigner<T extends string = string>(value: Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null | undefined): TransactionSigner<T>;
29
+ /**
30
+ * Defines an instruction account to resolve.
31
+ * @internal
32
+ */
33
+ export type ResolvedAccount<T extends string = string, U extends Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null = Address<T> | ProgramDerivedAddress<T> | TransactionSigner<T> | null> = {
34
+ isWritable: boolean;
35
+ value: U;
36
+ };
37
+ /**
38
+ * Defines an instruction that stores additional bytes on-chain.
39
+ * @internal
40
+ */
41
+ export type InstructionWithByteDelta = {
42
+ byteDelta: number;
43
+ };
44
+ /**
45
+ * Get account metas and signers from resolved accounts.
46
+ * @internal
47
+ */
48
+ export declare function getAccountMetaFactory(programAddress: Address, optionalAccountStrategy: 'omitted' | 'programId'): (account: ResolvedAccount) => AccountMeta | AccountSignerMeta | undefined;
49
+ export declare function isTransactionSigner<TAddress extends string = string>(value: Address<TAddress> | ProgramDerivedAddress<TAddress> | TransactionSigner<TAddress>): value is TransactionSigner<TAddress>;
50
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/shared/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAIL,KAAK,WAAW,EAChB,KAAK,iBAAiB,EACtB,KAAK,OAAO,EACZ,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EAEvB,MAAM,aAAa,CAAC;AAErB;;;GAGG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,GAAG,CAAC,CAK5D;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EACrD,KAAK,EACD,OAAO,CAAC,CAAC,CAAC,GACV,qBAAqB,CAAC,CAAC,CAAC,GACxB,iBAAiB,CAAC,CAAC,CAAC,GACpB,IAAI,GACJ,SAAS,GACZ,OAAO,CAAC,CAAC,CAAC,CAWZ;A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AC,GAC/B,iBAAiB,CAAC,QAAQ,CAAC,GAC9B,KAAK,IAAI,iBAAiB,CAAC,QAAQ,CAAC,CAOtC"}
@@ -0,0 +1,9 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ export * from './mode';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/generated/types/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,cAAc,QAAQ,CAAC"}
@@ -0,0 +1,18 @@
1
+ /**
2
+ * This code was AUTOGENERATED using the Codama library.
3
+ * Please DO NOT EDIT THIS FILE, instead use visitors
4
+ * to add features, then rerun Codama to update it.
5
+ *
6
+ * @see https://github.com/codama-idl/codama
7
+ */
8
+ import { type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder } from '@solana/kit';
9
+ export declare enum Mode {
10
+ Allow = 0,
11
+ AllowAllEoas = 1,
12
+ Block = 2
13
+ }
14
+ export type ModeArgs = Mode;
15
+ export declare function getModeEncoder(): FixedSizeEncoder<ModeArgs>;
16
+ export declare function getModeDecoder(): FixedSizeDecoder<Mode>;
17
+ export declare function getModeCodec(): FixedSizeCodec<ModeArgs, Mode>;
18
+ //# sourceMappingURL=mode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"mode.d.ts","sourceRoot":"","sources":["../../../../src/generated/types/mode.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAIL,KAAK,cAAc,EACnB,KAAK,gBAAgB,EACrB,KAAK,gBAAgB,EACtB,MAAM,aAAa,CAAC;AAErB,oBAAY,IAAI;IACd,KAAK,IAAA;IACL,YAAY,IAAA;IACZ,KAAK,IAAA;CACN;AAED,MAAM,MAAM,QAAQ,GAAG,IAAI,CAAC;AAE5B,wBAAgB,cAAc,IAAI,gBAAgB,CAAC,QAAQ,CAAC,CAE3D;AAED,wBAAgB,cAAc,IAAI,gBAAgB,CAAC,IAAI,CAAC,CAEvD;AAED,wBAAgB,YAAY,IAAI,cAAc,CAAC,QAAQ,EAAE,IAAI,CAAC,CAE7D"}
@@ -0,0 +1,2 @@
1
+ export * from './generated';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC"}
package/package.json CHANGED
@@ -1,12 +1,76 @@
1
1
  {
2
2
  "name": "@solana/token-acl-gate-sdk",
3
- "version": "0.0.0",
4
- "description": "",
5
- "license": "ISC",
6
- "author": "",
3
+ "version": "0.2.0",
4
+ "description": "SDK for Token ACL Gate program",
5
+ "module": "./dist/src/index.mjs",
6
+ "main": "./dist/src/index.js",
7
+ "types": "./dist/types/index.d.ts",
7
8
  "type": "commonjs",
8
- "main": "index.js",
9
+ "exports": {
10
+ ".": {
11
+ "types": "./dist/types/index.d.ts",
12
+ "import": "./dist/src/index.mjs",
13
+ "require": "./dist/src/index.js"
14
+ }
15
+ },
16
+ "files": [
17
+ "./dist/src",
18
+ "./dist/types"
19
+ ],
20
+ "dependencies": {
21
+ "@solana/kit": "^5.0.0"
22
+ },
23
+ "devDependencies": {
24
+ "@changesets/changelog-github": "^0.5.1",
25
+ "@changesets/cli": "^2.29.5",
26
+ "@types/jest": "^29.5.0",
27
+ "@typescript-eslint/eslint-plugin": "^8.34.0",
28
+ "@typescript-eslint/parser": "^8.34.0",
29
+ "@eslint/js": "^9.39.1",
30
+ "eslint": "^9.32.0",
31
+ "jest": "^29.5.0",
32
+ "ts-jest": "^29.1.0",
33
+ "typescript": "^5.8.3",
34
+ "rimraf": "^6.0.1",
35
+ "tsup": "^8.1.2",
36
+ "@types/node": "^24",
37
+ "globals": "^16.5.0",
38
+ "typescript-eslint": "^8.48.1",
39
+ "prettier": "^3.3.3"
40
+ },
41
+ "peerDependencies": {
42
+ "typescript": "^5.0.0"
43
+ },
44
+ "publishConfig": {
45
+ "access": "public",
46
+ "registry": "https://registry.npmjs.org"
47
+ },
48
+ "repository": {
49
+ "type": "git",
50
+ "url": "https://github.com/solana-foundation/token-acl-gate"
51
+ },
52
+ "bugs": {
53
+ "url": "https://github.com/solana-foundation/token-acl-gate/issues"
54
+ },
55
+ "keywords": [
56
+ "solana",
57
+ "token-2022",
58
+ "extensions",
59
+ "core",
60
+ "hooks"
61
+ ],
9
62
  "scripts": {
10
- "test": "echo \"Error: no test specified\" && exit 1"
63
+ "build": "rimraf dist && tsup && tsc -p ./tsconfig.declarations.json",
64
+ "build:docs": "typedoc",
65
+ "test": "ava",
66
+ "lint": "eslint --ext js,ts,tsx src",
67
+ "lint:fix": "eslint --fix --ext js,ts,tsx src",
68
+ "format": "prettier --check src",
69
+ "format:fix": "prettier --write src",
70
+ "changeset": "changeset",
71
+ "changeset:version": "changeset version",
72
+ "changeset:publish": "changeset publish",
73
+ "changeset:status": "changeset status",
74
+ "version-packages": "changeset version"
11
75
  }
12
- }
76
+ }