@nosana/kit 2.0.28 → 2.0.30

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 (74) hide show
  1. package/README.md +5 -1
  2. package/dist/NosanaClient.d.ts +1 -0
  3. package/dist/NosanaClient.js.map +1 -1
  4. package/dist/errors/NosanaError.d.ts +2 -2
  5. package/dist/generated_clients/jobs/accounts/jobAccount.d.ts +1 -1
  6. package/dist/generated_clients/jobs/accounts/marketAccount.d.ts +1 -1
  7. package/dist/generated_clients/jobs/accounts/runAccount.d.ts +1 -1
  8. package/dist/generated_clients/jobs/instructions/assign.d.ts +1 -1
  9. package/dist/generated_clients/jobs/instructions/claim.d.ts +1 -1
  10. package/dist/generated_clients/jobs/instructions/clean.d.ts +1 -1
  11. package/dist/generated_clients/jobs/instructions/cleanAdmin.d.ts +1 -1
  12. package/dist/generated_clients/jobs/instructions/close.d.ts +1 -1
  13. package/dist/generated_clients/jobs/instructions/closeAdmin.d.ts +1 -1
  14. package/dist/generated_clients/jobs/instructions/complete.d.ts +1 -1
  15. package/dist/generated_clients/jobs/instructions/delist.d.ts +1 -1
  16. package/dist/generated_clients/jobs/instructions/end.d.ts +1 -1
  17. package/dist/generated_clients/jobs/instructions/extend.d.ts +1 -1
  18. package/dist/generated_clients/jobs/instructions/finish.d.ts +1 -1
  19. package/dist/generated_clients/jobs/instructions/list.d.ts +1 -1
  20. package/dist/generated_clients/jobs/instructions/open.d.ts +1 -1
  21. package/dist/generated_clients/jobs/instructions/quit.d.ts +1 -1
  22. package/dist/generated_clients/jobs/instructions/quitAdmin.d.ts +1 -1
  23. package/dist/generated_clients/jobs/instructions/recover.d.ts +1 -1
  24. package/dist/generated_clients/jobs/instructions/stop.d.ts +1 -1
  25. package/dist/generated_clients/jobs/instructions/update.d.ts +1 -1
  26. package/dist/generated_clients/jobs/instructions/work.d.ts +1 -1
  27. package/dist/generated_clients/merkle_distributor/accounts/claimStatus.d.ts +1 -1
  28. package/dist/generated_clients/merkle_distributor/accounts/merkleDistributor.d.ts +1 -1
  29. package/dist/generated_clients/merkle_distributor/instructions/claimLocked.d.ts +1 -1
  30. package/dist/generated_clients/merkle_distributor/instructions/clawback.d.ts +1 -1
  31. package/dist/generated_clients/merkle_distributor/instructions/closeClaimStatus.d.ts +1 -1
  32. package/dist/generated_clients/merkle_distributor/instructions/closeDistributor.d.ts +1 -1
  33. package/dist/generated_clients/merkle_distributor/instructions/newClaim.d.ts +1 -1
  34. package/dist/generated_clients/merkle_distributor/instructions/newDistributor.d.ts +1 -1
  35. package/dist/generated_clients/merkle_distributor/instructions/setAdmin.d.ts +1 -1
  36. package/dist/generated_clients/merkle_distributor/instructions/setClawbackReceiver.d.ts +1 -1
  37. package/dist/generated_clients/merkle_distributor/instructions/setEnableSlot.d.ts +1 -1
  38. package/dist/generated_clients/staking/accounts/settingsAccount.d.ts +1 -1
  39. package/dist/generated_clients/staking/accounts/stakeAccount.d.ts +1 -1
  40. package/dist/generated_clients/staking/instructions/close.d.ts +1 -1
  41. package/dist/generated_clients/staking/instructions/extend.d.ts +1 -1
  42. package/dist/generated_clients/staking/instructions/init.d.ts +1 -1
  43. package/dist/generated_clients/staking/instructions/restake.d.ts +1 -1
  44. package/dist/generated_clients/staking/instructions/slash.d.ts +1 -1
  45. package/dist/generated_clients/staking/instructions/stake.d.ts +1 -1
  46. package/dist/generated_clients/staking/instructions/topup.d.ts +1 -1
  47. package/dist/generated_clients/staking/instructions/unstake.d.ts +1 -1
  48. package/dist/generated_clients/staking/instructions/updateSettings.d.ts +1 -1
  49. package/dist/generated_clients/staking/instructions/withdraw.d.ts +1 -1
  50. package/dist/index.d.ts +169 -18
  51. package/dist/index.js +124 -17
  52. package/dist/index.js.map +1 -1
  53. package/dist/services/programs/jobs/JobsProgram.d.ts +1 -0
  54. package/dist/services/programs/jobs/JobsProgram.js.map +1 -1
  55. package/dist/services/programs/jobs/monitor/types.d.ts +3 -0
  56. package/dist/services/programs/jobs/monitor/types.js +1 -0
  57. package/dist/services/programs/jobs/monitor/types.js.map +1 -1
  58. package/dist/services/programs/merkleDistributor/MerkleDistributorProgram.d.ts +3 -0
  59. package/dist/services/programs/merkleDistributor/MerkleDistributorProgram.js +2 -0
  60. package/dist/services/programs/merkleDistributor/MerkleDistributorProgram.js.map +1 -1
  61. package/dist/services/programs/stake/StakeProgram.d.ts +1 -0
  62. package/dist/services/programs/stake/StakeProgram.js.map +1 -1
  63. package/dist/services/solana/SolanaService.d.ts +9 -3
  64. package/dist/services/solana/SolanaService.js +32 -4
  65. package/dist/services/solana/SolanaService.js.map +1 -1
  66. package/dist/services/token/TokenService.d.ts +3 -0
  67. package/dist/services/token/TokenService.js.map +1 -1
  68. package/dist/types.d.ts +2 -0
  69. package/dist/utils/convertBigIntToNumber.d.ts +1 -0
  70. package/dist/utils/convertBigIntToNumber.js.map +1 -1
  71. package/dist/utils/walletToAuthorizationSigner.d.ts +1 -0
  72. package/dist/utils/walletToAuthorizationSigner.js +1 -0
  73. package/dist/utils/walletToAuthorizationSigner.js.map +1 -1
  74. package/package.json +20 -2
package/README.md CHANGED
@@ -1262,8 +1262,12 @@ import type {
1262
1262
  ClientConfig,
1263
1263
  NosanaClient,
1264
1264
  Wallet,
1265
+ Address,
1265
1266
  } from '@nosana/kit';
1266
- import type { Address } from '@solana/kit';
1267
+
1268
+ // The `address` utility function is also available for creating typed addresses
1269
+ import { address } from '@nosana/kit';
1270
+ const jobAddress = address('your-job-address');
1267
1271
  ```
1268
1272
 
1269
1273
  ## Dependencies
@@ -13,6 +13,7 @@ import type { Wallet } from './types.js';
13
13
  /**
14
14
  * The Nosana client interface. Contains all the services and programs
15
15
  * needed to interact with the Nosana network.
16
+ * @group @nosana/kit
16
17
  */
17
18
  export interface NosanaClient {
18
19
  readonly config: ClientConfig;
@@ -1 +1 @@
1
- {"version":3,"file":"NosanaClient.js","sourceRoot":"","sources":["../src/NosanaClient.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,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CAAC,GAAG,CAAC,MAAM,CAAC;YAC7C,CAAC,CAAC,MAAM;gBACN,CAAC,CAAC,eAAe,CAAC,OAAO,EAAE;oBACvB,UAAU,EAAE,MAAM,CAAC,OAAO,CAAC,QAAQ,EAAE;oBACrC,QAAQ,EAAG,aAAqC,CAAC,QAAQ;iBAC1D,CAAC;gBACJ,CAAC,CAAC,SAAS,CAAC;QAEhB,OAAO;YACL,aAAa;YACb,GAAG;SACJ,CAAC;IACJ,CAAC,CAAC;IAEF,IAAI,qBAAqB,GAAG,2BAA2B,EAAE,CAAC;IAE1D,8BAA8B;IAC9B,OAAO;QACL,MAAM;QACN,MAAM;QACN,MAAM;QACN,GAAG;QACH,IAAI;QACJ,KAAK;QACL,iBAAiB;QACjB,IAAI;QACJ,IAAI,aAAa;YACf,OAAO,qBAAqB,CAAC,aAAa,CAAC;QAC7C,CAAC;QACD,IAAI,GAAG;YACL,OAAO,qBAAqB,CAAC,GAAG,CAAC;QACnC,CAAC;QACD,IAAI,MAAM;YACR,OAAO,MAAM,CAAC;QAChB,CAAC;QACD,IAAI,MAAM,CAAC,KAAyB;YAClC,MAAM,GAAG,KAAK,CAAC;YACf,qBAAqB,GAAG,2BAA2B,EAAE,CAAC;QACxD,CAAC;KACF,CAAC;AACJ,CAAC"}
@@ -1,7 +1,7 @@
1
1
  export declare class NosanaError extends Error {
2
2
  readonly code: string;
3
- readonly details?: unknown | undefined;
4
- constructor(message: string, code: string, details?: unknown | undefined);
3
+ readonly details?: unknown;
4
+ constructor(message: string, code: string, details?: unknown);
5
5
  }
6
6
  export declare const ErrorCodes: {
7
7
  readonly INVALID_NETWORK: "INVALID_NETWORK";
@@ -6,7 +6,7 @@
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
8
  import { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
9
- export declare const JOB_ACCOUNT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
9
+ export declare const JOB_ACCOUNT_DISCRIMINATOR: Uint8Array;
10
10
  export declare function getJobAccountDiscriminatorBytes(): ReadonlyUint8Array;
11
11
  /** The `JobAccount` struct holds all the information about any individual jobs. */
12
12
  export type JobAccount = {
@@ -6,7 +6,7 @@
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
8
  import { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type Codec, type Decoder, type EncodedAccount, type Encoder, type FetchAccountConfig, type FetchAccountsConfig, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
9
- export declare const MARKET_ACCOUNT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
9
+ export declare const MARKET_ACCOUNT_DISCRIMINATOR: Uint8Array;
10
10
  export declare function getMarketAccountDiscriminatorBytes(): ReadonlyUint8Array;
11
11
  /** The `MarketAccount` struct holds all the information about jobs and the nodes queue. */
12
12
  export type MarketAccount = {
@@ -6,7 +6,7 @@
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
8
  import { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
9
- export declare const RUN_ACCOUNT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
9
+ export declare const RUN_ACCOUNT_DISCRIMINATOR: Uint8Array;
10
10
  export declare function getRunAccountDiscriminatorBytes(): ReadonlyUint8Array;
11
11
  /** The `RunAccount` struct holds temporary information that matches nodes to jobs. */
12
12
  export type RunAccount = {
@@ -7,7 +7,7 @@
7
7
  */
8
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
9
  import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const ASSIGN_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const ASSIGN_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getAssignDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type AssignInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountJob extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountRun extends string | AccountMeta<string> = string, TAccountNode extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountRewardsReflection extends string | AccountMeta<string> = string, TAccountRewardsVault extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountRewardsProgram extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountJob extends string ? WritableSignerAccount<TAccountJob> & AccountSignerMeta<TAccountJob> : TAccountJob,
@@ -7,7 +7,7 @@
7
7
  */
8
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
9
  import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const CLAIM_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const CLAIM_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getClaimDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type ClaimInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountJob extends string | AccountMeta<string> = string, TAccountRun extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountStake extends string | AccountMeta<string> = string, TAccountNft extends string | AccountMeta<string> = string, TAccountMetadata extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountJob extends string ? WritableAccount<TAccountJob> : TAccountJob,
@@ -7,7 +7,7 @@
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
9
  import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const CLEAN_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const CLEAN_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getCleanDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type CleanInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountJob extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountJob extends string ? WritableAccount<TAccountJob> : TAccountJob,
@@ -7,7 +7,7 @@
7
7
  */
8
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';
9
9
  import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const CLEAN_ADMIN_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const CLEAN_ADMIN_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getCleanAdminDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type CleanAdminInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountJob extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountJob extends string ? WritableAccount<TAccountJob> : TAccountJob,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const CLOSE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const CLOSE_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getCloseDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type CloseInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountMarket extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountMarket extends string ? WritableAccount<TAccountMarket> : TAccountMarket,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const CLOSE_ADMIN_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const CLOSE_ADMIN_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getCloseAdminDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type CloseAdminInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountMarket extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountMarket extends string ? WritableAccount<TAccountMarket> : TAccountMarket,
@@ -7,7 +7,7 @@
7
7
  */
8
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';
9
9
  import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const COMPLETE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const COMPLETE_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getCompleteDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type CompleteInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountJob extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountJob extends string ? WritableAccount<TAccountJob> : TAccountJob,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const DELIST_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const DELIST_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getDelistDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type DelistInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountJob extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountDeposit extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountJob extends string ? WritableAccount<TAccountJob> : TAccountJob,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const END_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const END_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getEndDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type EndInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountJob extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountRun extends string | AccountMeta<string> = string, TAccountDeposit extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountJob extends string ? WritableAccount<TAccountJob> : TAccountJob,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const EXTEND_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const EXTEND_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getExtendDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type ExtendInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountJob extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountRewardsReflection extends string | AccountMeta<string> = string, TAccountRewardsVault extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountRewardsProgram extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountJob extends string ? WritableAccount<TAccountJob> : TAccountJob,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const FINISH_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const FINISH_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getFinishDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type FinishInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountJob extends string | AccountMeta<string> = string, TAccountRun extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountDeposit extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountPayerJob extends string | AccountMeta<string> = string, TAccountPayerRun extends string | AccountMeta<string> = string, TAccountProject extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountJob extends string ? WritableAccount<TAccountJob> : TAccountJob,
@@ -7,7 +7,7 @@
7
7
  */
8
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
9
  import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const LIST_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const LIST_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getListDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type ListInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountJob extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountRun extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountRewardsReflection extends string | AccountMeta<string> = string, TAccountRewardsVault extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountRewardsProgram extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountJob extends string ? WritableSignerAccount<TAccountJob> & AccountSignerMeta<TAccountJob> : TAccountJob,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const OPEN_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const OPEN_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getOpenDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type OpenInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountMint extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountAccessKey extends string | AccountMeta<string> = string, TAccountRent extends string | AccountMeta<string> = 'SysvarRent111111111111111111111111111111111', TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountMint extends string ? ReadonlyAccount<TAccountMint> : TAccountMint,
@@ -7,7 +7,7 @@
7
7
  */
8
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';
9
9
  import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const QUIT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const QUIT_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getQuitDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type QuitInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountJob extends string | AccountMeta<string> = string, TAccountRun extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountJob extends string ? WritableAccount<TAccountJob> : TAccountJob,
@@ -7,7 +7,7 @@
7
7
  */
8
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';
9
9
  import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const QUIT_ADMIN_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const QUIT_ADMIN_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getQuitAdminDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type QuitAdminInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountRun extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountRun extends string ? WritableAccount<TAccountRun> : TAccountRun,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const RECOVER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const RECOVER_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getRecoverDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type RecoverInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountJob extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountJob extends string ? WritableAccount<TAccountJob> : TAccountJob,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const STOP_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const STOP_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getStopDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type StopInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountMarket extends string | AccountMeta<string> = string, TAccountNode extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountMarket extends string ? WritableAccount<TAccountMarket> : TAccountMarket,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const UPDATE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const UPDATE_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getUpdateDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type UpdateInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountMarket extends string | AccountMeta<string> = string, TAccountAccessKey extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountMarket extends string ? WritableAccount<TAccountMarket> : TAccountMarket,
@@ -7,7 +7,7 @@
7
7
  */
8
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
9
  import { NOSANA_JOBS_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const WORK_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const WORK_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getWorkDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type WorkInstruction<TProgram extends string = typeof NOSANA_JOBS_PROGRAM_ADDRESS, TAccountRun extends string | AccountMeta<string> = string, TAccountMarket extends string | AccountMeta<string> = string, TAccountPayer extends string | AccountMeta<string> = string, TAccountStake extends string | AccountMeta<string> = string, TAccountNft extends string | AccountMeta<string> = string, TAccountMetadata extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountRun extends string ? WritableSignerAccount<TAccountRun> & AccountSignerMeta<TAccountRun> : TAccountRun,
@@ -6,7 +6,7 @@
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
8
  import { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
9
- export declare const CLAIM_STATUS_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
9
+ export declare const CLAIM_STATUS_DISCRIMINATOR: Uint8Array;
10
10
  export declare function getClaimStatusDiscriminatorBytes(): ReadonlyUint8Array;
11
11
  /** Holds whether or not a claimant has claimed tokens. */
12
12
  export type ClaimStatus = {
@@ -6,7 +6,7 @@
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
8
  import { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
9
- export declare const MERKLE_DISTRIBUTOR_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
9
+ export declare const MERKLE_DISTRIBUTOR_DISCRIMINATOR: Uint8Array;
10
10
  export declare function getMerkleDistributorDiscriminatorBytes(): ReadonlyUint8Array;
11
11
  /** State for the account which distributes tokens. */
12
12
  export type MerkleDistributor = {
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const CLAIM_LOCKED_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const CLAIM_LOCKED_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getClaimLockedDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type ClaimLockedInstruction<TProgram extends string = typeof MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS, TAccountDistributor extends string | AccountMeta<string> = string, TAccountClaimStatus extends string | AccountMeta<string> = string, TAccountFrom extends string | AccountMeta<string> = string, TAccountTo extends string | AccountMeta<string> = string, TAccountClaimant extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountDistributor extends string ? WritableAccount<TAccountDistributor> : TAccountDistributor,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const CLAWBACK_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const CLAWBACK_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getClawbackDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type ClawbackInstruction<TProgram extends string = typeof MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS, TAccountDistributor extends string | AccountMeta<string> = string, TAccountFrom extends string | AccountMeta<string> = string, TAccountTo extends string | AccountMeta<string> = string, TAccountClaimant extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountDistributor extends string ? WritableAccount<TAccountDistributor> : TAccountDistributor,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const CLOSE_CLAIM_STATUS_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const CLOSE_CLAIM_STATUS_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getCloseClaimStatusDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type CloseClaimStatusInstruction<TProgram extends string = typeof MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS, TAccountClaimStatus extends string | AccountMeta<string> = string, TAccountClaimant extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TAccountDistributor extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountClaimStatus extends string ? WritableAccount<TAccountClaimStatus> : TAccountClaimStatus,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const CLOSE_DISTRIBUTOR_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const CLOSE_DISTRIBUTOR_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getCloseDistributorDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type CloseDistributorInstruction<TProgram extends string = typeof MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS, TAccountDistributor extends string | AccountMeta<string> = string, TAccountTokenVault extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TAccountDestinationTokenAccount extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountDistributor extends string ? WritableAccount<TAccountDistributor> : TAccountDistributor,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type Codec, type Decoder, type Encoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const NEW_CLAIM_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const NEW_CLAIM_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getNewClaimDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type NewClaimInstruction<TProgram extends string = typeof MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS, TAccountDistributor extends string | AccountMeta<string> = string, TAccountClaimStatus extends string | AccountMeta<string> = string, TAccountFrom extends string | AccountMeta<string> = string, TAccountTo extends string | AccountMeta<string> = string, TAccountClaimant extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountDistributor extends string ? WritableAccount<TAccountDistributor> : TAccountDistributor,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const NEW_DISTRIBUTOR_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const NEW_DISTRIBUTOR_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getNewDistributorDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type NewDistributorInstruction<TProgram extends string = typeof MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS, TAccountDistributor extends string | AccountMeta<string> = string, TAccountClawbackReceiver extends string | AccountMeta<string> = string, TAccountMint extends string | AccountMeta<string> = string, TAccountTokenVault extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountAssociatedTokenProgram extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountDistributor extends string ? WritableAccount<TAccountDistributor> : TAccountDistributor,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const SET_ADMIN_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const SET_ADMIN_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getSetAdminDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type SetAdminInstruction<TProgram extends string = typeof MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS, TAccountDistributor extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TAccountNewAdmin extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountDistributor extends string ? WritableAccount<TAccountDistributor> : TAccountDistributor,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const SET_CLAWBACK_RECEIVER_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const SET_CLAWBACK_RECEIVER_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getSetClawbackReceiverDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type SetClawbackReceiverInstruction<TProgram extends string = typeof MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS, TAccountDistributor extends string | AccountMeta<string> = string, TAccountNewClawbackAccount extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountDistributor extends string ? WritableAccount<TAccountDistributor> : TAccountDistributor,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const SET_ENABLE_SLOT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const SET_ENABLE_SLOT_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getSetEnableSlotDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type SetEnableSlotInstruction<TProgram extends string = typeof MERKLE_DISTRIBUTOR_PROGRAM_ADDRESS, TAccountDistributor extends string | AccountMeta<string> = string, TAccountAdmin extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountDistributor extends string ? WritableAccount<TAccountDistributor> : TAccountDistributor,
@@ -6,7 +6,7 @@
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
8
  import { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
9
- export declare const SETTINGS_ACCOUNT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
9
+ export declare const SETTINGS_ACCOUNT_DISCRIMINATOR: Uint8Array;
10
10
  export declare function getSettingsAccountDiscriminatorBytes(): ReadonlyUint8Array;
11
11
  export type SettingsAccount = {
12
12
  discriminator: ReadonlyUint8Array;
@@ -6,7 +6,7 @@
6
6
  * @see https://github.com/codama-idl/codama
7
7
  */
8
8
  import { fetchEncodedAccount, fetchEncodedAccounts, type Account, type Address, type EncodedAccount, type FetchAccountConfig, type FetchAccountsConfig, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type MaybeAccount, type MaybeEncodedAccount, type ReadonlyUint8Array } from '@solana/kit';
9
- export declare const STAKE_ACCOUNT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
9
+ export declare const STAKE_ACCOUNT_DISCRIMINATOR: Uint8Array;
10
10
  export declare function getStakeAccountDiscriminatorBytes(): ReadonlyUint8Array;
11
11
  export type StakeAccount = {
12
12
  discriminator: ReadonlyUint8Array;
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { NOSANA_STAKING_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const CLOSE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const CLOSE_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getCloseDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type CloseInstruction<TProgram extends string = typeof NOSANA_STAKING_PROGRAM_ADDRESS, TAccountUser extends string | AccountMeta<string> = string, TAccountStake extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountUser extends string ? WritableAccount<TAccountUser> : TAccountUser,
@@ -7,7 +7,7 @@
7
7
  */
8
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';
9
9
  import { NOSANA_STAKING_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const EXTEND_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const EXTEND_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getExtendDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type ExtendInstruction<TProgram extends string = typeof NOSANA_STAKING_PROGRAM_ADDRESS, TAccountStake extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountStake extends string ? WritableAccount<TAccountStake> : TAccountStake,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { NOSANA_STAKING_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const INIT_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const INIT_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getInitDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type InitInstruction<TProgram extends string = typeof NOSANA_STAKING_PROGRAM_ADDRESS, TAccountSettings extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountRent extends string | AccountMeta<string> = 'SysvarRent111111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountSettings extends string ? WritableAccount<TAccountSettings> : TAccountSettings,
@@ -7,7 +7,7 @@
7
7
  */
8
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';
9
9
  import { NOSANA_STAKING_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const RESTAKE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const RESTAKE_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getRestakeDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type RestakeInstruction<TProgram extends string = typeof NOSANA_STAKING_PROGRAM_ADDRESS, TAccountVault extends string | AccountMeta<string> = string, TAccountStake extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountVault extends string ? WritableAccount<TAccountVault> : TAccountVault,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { NOSANA_STAKING_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const SLASH_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const SLASH_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getSlashDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type SlashInstruction<TProgram extends string = typeof NOSANA_STAKING_PROGRAM_ADDRESS, TAccountVault extends string | AccountMeta<string> = string, TAccountStake extends string | AccountMeta<string> = string, TAccountTokenAccount extends string | AccountMeta<string> = string, TAccountSettings extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountVault extends string ? WritableAccount<TAccountVault> : TAccountVault,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { NOSANA_STAKING_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const STAKE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const STAKE_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getStakeDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type StakeInstruction<TProgram extends string = typeof NOSANA_STAKING_PROGRAM_ADDRESS, TAccountMint extends string | AccountMeta<string> = string, TAccountUser extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountStake extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountSystemProgram extends string | AccountMeta<string> = '11111111111111111111111111111111', TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TAccountRent extends string | AccountMeta<string> = 'SysvarRent111111111111111111111111111111111', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountMint extends string ? ReadonlyAccount<TAccountMint> : TAccountMint,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { NOSANA_STAKING_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const TOPUP_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const TOPUP_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getTopupDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type TopupInstruction<TProgram extends string = typeof NOSANA_STAKING_PROGRAM_ADDRESS, TAccountUser extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountStake extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountUser extends string ? WritableAccount<TAccountUser> : TAccountUser,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { NOSANA_STAKING_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const UNSTAKE_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const UNSTAKE_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getUnstakeDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type UnstakeInstruction<TProgram extends string = typeof NOSANA_STAKING_PROGRAM_ADDRESS, TAccountStake extends string | AccountMeta<string> = string, TAccountReward extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountStake extends string ? WritableAccount<TAccountStake> : TAccountStake,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount } from '@solana/kit';
9
9
  import { NOSANA_STAKING_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const UPDATE_SETTINGS_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const UPDATE_SETTINGS_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getUpdateSettingsDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type UpdateSettingsInstruction<TProgram extends string = typeof NOSANA_STAKING_PROGRAM_ADDRESS, TAccountNewAuthority extends string | AccountMeta<string> = string, TAccountTokenAccount extends string | AccountMeta<string> = string, TAccountSettings extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountNewAuthority extends string ? ReadonlyAccount<TAccountNewAuthority> : TAccountNewAuthority,
@@ -7,7 +7,7 @@
7
7
  */
8
8
  import { type AccountMeta, type AccountSignerMeta, type Address, type FixedSizeCodec, type FixedSizeDecoder, type FixedSizeEncoder, type Instruction, type InstructionWithAccounts, type InstructionWithData, type ReadonlyAccount, type ReadonlyUint8Array, type TransactionSigner, type WritableAccount, type WritableSignerAccount } from '@solana/kit';
9
9
  import { NOSANA_STAKING_PROGRAM_ADDRESS } from '../programs/index.js';
10
- export declare const WITHDRAW_DISCRIMINATOR: Uint8Array<ArrayBuffer>;
10
+ export declare const WITHDRAW_DISCRIMINATOR: Uint8Array;
11
11
  export declare function getWithdrawDiscriminatorBytes(): ReadonlyUint8Array;
12
12
  export type WithdrawInstruction<TProgram extends string = typeof NOSANA_STAKING_PROGRAM_ADDRESS, TAccountUser extends string | AccountMeta<string> = string, TAccountVault extends string | AccountMeta<string> = string, TAccountStake extends string | AccountMeta<string> = string, TAccountAuthority extends string | AccountMeta<string> = string, TAccountTokenProgram extends string | AccountMeta<string> = 'TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA', TRemainingAccounts extends readonly AccountMeta<string>[] = []> = Instruction<TProgram> & InstructionWithData<ReadonlyUint8Array> & InstructionWithAccounts<[
13
13
  TAccountUser extends string ? WritableAccount<TAccountUser> : TAccountUser,