@solana-program/system 0.1.3 → 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.
- package/dist/src/index.cjs +240 -410
- package/dist/src/index.cjs.map +1 -1
- package/dist/src/index.js +240 -396
- package/dist/src/index.js.map +1 -1
- package/dist/types/src/generated/instructions/advanceNonceAccount.d.ts +5 -21
- package/dist/types/src/generated/instructions/advanceNonceAccount.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/allocate.d.ts +5 -16
- package/dist/types/src/generated/instructions/allocate.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/allocateWithSeed.d.ts +5 -22
- package/dist/types/src/generated/instructions/allocateWithSeed.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/assign.d.ts +5 -16
- package/dist/types/src/generated/instructions/assign.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/assignWithSeed.d.ts +5 -21
- package/dist/types/src/generated/instructions/assignWithSeed.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/authorizeNonceAccount.d.ts +5 -19
- package/dist/types/src/generated/instructions/authorizeNonceAccount.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/createAccount.d.ts +5 -21
- package/dist/types/src/generated/instructions/createAccount.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/createAccountWithSeed.d.ts +5 -26
- package/dist/types/src/generated/instructions/createAccountWithSeed.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/initializeNonceAccount.d.ts +5 -22
- package/dist/types/src/generated/instructions/initializeNonceAccount.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/transferSol.d.ts +5 -19
- package/dist/types/src/generated/instructions/transferSol.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/transferSolWithSeed.d.ts +5 -24
- package/dist/types/src/generated/instructions/transferSolWithSeed.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/upgradeNonceAccount.d.ts +5 -15
- package/dist/types/src/generated/instructions/upgradeNonceAccount.d.ts.map +1 -1
- package/dist/types/src/generated/instructions/withdrawNonceAccount.d.ts +5 -28
- package/dist/types/src/generated/instructions/withdrawNonceAccount.d.ts.map +1 -1
- package/dist/types/src/generated/shared/index.d.ts +2 -10
- package/dist/types/src/generated/shared/index.d.ts.map +1 -1
- package/package.json +9 -13
|
@@ -8,13 +8,8 @@
|
|
|
8
8
|
import { Address } from '@solana/addresses';
|
|
9
9
|
import { Codec, Decoder, Encoder } from '@solana/codecs';
|
|
10
10
|
import { IAccountMeta, IInstruction, IInstructionWithAccounts, IInstructionWithData, ReadonlyAccount, WritableAccount } from '@solana/instructions';
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
TAccountRecentBlockhashesSysvar extends string ? ReadonlyAccount<TAccountRecentBlockhashesSysvar> : TAccountRecentBlockhashesSysvar,
|
|
14
|
-
TAccountRentSysvar extends string ? ReadonlyAccount<TAccountRentSysvar> : TAccountRentSysvar,
|
|
15
|
-
...TRemainingAccounts
|
|
16
|
-
]>;
|
|
17
|
-
export type InitializeNonceAccountInstructionWithSigners<TProgram extends string = '11111111111111111111111111111111', TAccountNonceAccount extends string | IAccountMeta<string> = string, TAccountRecentBlockhashesSysvar extends string | IAccountMeta<string> = 'SysvarRecentB1ockHashes11111111111111111111', TAccountRentSysvar extends string | IAccountMeta<string> = 'SysvarRent111111111111111111111111111111111', TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
|
|
11
|
+
import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
|
|
12
|
+
export type InitializeNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountNonceAccount extends string | IAccountMeta<string> = string, TAccountRecentBlockhashesSysvar extends string | IAccountMeta<string> = 'SysvarRecentB1ockHashes11111111111111111111', TAccountRentSysvar extends string | IAccountMeta<string> = 'SysvarRent111111111111111111111111111111111', TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
|
|
18
13
|
TAccountNonceAccount extends string ? WritableAccount<TAccountNonceAccount> : TAccountNonceAccount,
|
|
19
14
|
TAccountRecentBlockhashesSysvar extends string ? ReadonlyAccount<TAccountRecentBlockhashesSysvar> : TAccountRecentBlockhashesSysvar,
|
|
20
15
|
TAccountRentSysvar extends string ? ReadonlyAccount<TAccountRentSysvar> : TAccountRentSysvar,
|
|
@@ -30,26 +25,14 @@ export type InitializeNonceAccountInstructionDataArgs = {
|
|
|
30
25
|
export declare function getInitializeNonceAccountInstructionDataEncoder(): Encoder<InitializeNonceAccountInstructionDataArgs>;
|
|
31
26
|
export declare function getInitializeNonceAccountInstructionDataDecoder(): Decoder<InitializeNonceAccountInstructionData>;
|
|
32
27
|
export declare function getInitializeNonceAccountInstructionDataCodec(): Codec<InitializeNonceAccountInstructionDataArgs, InitializeNonceAccountInstructionData>;
|
|
33
|
-
export type InitializeNonceAccountInput<TAccountNonceAccount extends string, TAccountRecentBlockhashesSysvar extends string, TAccountRentSysvar extends string> = {
|
|
34
|
-
nonceAccount: Address<TAccountNonceAccount>;
|
|
35
|
-
recentBlockhashesSysvar?: Address<TAccountRecentBlockhashesSysvar>;
|
|
36
|
-
rentSysvar?: Address<TAccountRentSysvar>;
|
|
37
|
-
nonceAuthority: InitializeNonceAccountInstructionDataArgs['nonceAuthority'];
|
|
38
|
-
};
|
|
39
|
-
export type InitializeNonceAccountInputWithSigners<TAccountNonceAccount extends string, TAccountRecentBlockhashesSysvar extends string, TAccountRentSysvar extends string> = {
|
|
28
|
+
export type InitializeNonceAccountInput<TAccountNonceAccount extends string = string, TAccountRecentBlockhashesSysvar extends string = string, TAccountRentSysvar extends string = string> = {
|
|
40
29
|
nonceAccount: Address<TAccountNonceAccount>;
|
|
41
30
|
recentBlockhashesSysvar?: Address<TAccountRecentBlockhashesSysvar>;
|
|
42
31
|
rentSysvar?: Address<TAccountRentSysvar>;
|
|
43
32
|
nonceAuthority: InitializeNonceAccountInstructionDataArgs['nonceAuthority'];
|
|
44
33
|
};
|
|
45
|
-
export declare function getInitializeNonceAccountInstruction<TAccountNonceAccount extends string, TAccountRecentBlockhashesSysvar extends string, TAccountRentSysvar extends string
|
|
46
|
-
export
|
|
47
|
-
export declare function getInitializeNonceAccountInstructionRaw<TProgram extends string = '11111111111111111111111111111111', TAccountNonceAccount extends string | IAccountMeta<string> = string, TAccountRecentBlockhashesSysvar extends string | IAccountMeta<string> = 'SysvarRecentB1ockHashes11111111111111111111', TAccountRentSysvar extends string | IAccountMeta<string> = 'SysvarRent111111111111111111111111111111111', TRemainingAccounts extends Array<IAccountMeta<string>> = []>(accounts: {
|
|
48
|
-
nonceAccount: TAccountNonceAccount extends string ? Address<TAccountNonceAccount> : TAccountNonceAccount;
|
|
49
|
-
recentBlockhashesSysvar?: TAccountRecentBlockhashesSysvar extends string ? Address<TAccountRecentBlockhashesSysvar> : TAccountRecentBlockhashesSysvar;
|
|
50
|
-
rentSysvar?: TAccountRentSysvar extends string ? Address<TAccountRentSysvar> : TAccountRentSysvar;
|
|
51
|
-
}, args: InitializeNonceAccountInstructionDataArgs, programAddress?: Address<TProgram>, remainingAccounts?: TRemainingAccounts): InitializeNonceAccountInstruction<TProgram, TAccountNonceAccount, TAccountRecentBlockhashesSysvar, TAccountRentSysvar, TRemainingAccounts>;
|
|
52
|
-
export type ParsedInitializeNonceAccountInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
|
|
34
|
+
export declare function getInitializeNonceAccountInstruction<TAccountNonceAccount extends string, TAccountRecentBlockhashesSysvar extends string, TAccountRentSysvar extends string>(input: InitializeNonceAccountInput<TAccountNonceAccount, TAccountRecentBlockhashesSysvar, TAccountRentSysvar>): InitializeNonceAccountInstruction<typeof SYSTEM_PROGRAM_ADDRESS, TAccountNonceAccount, TAccountRecentBlockhashesSysvar, TAccountRentSysvar>;
|
|
35
|
+
export type ParsedInitializeNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
|
|
53
36
|
programAddress: Address<TProgram>;
|
|
54
37
|
accounts: {
|
|
55
38
|
nonceAccount: TAccountMetas[0];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"initializeNonceAccount.d.ts","sourceRoot":"","sources":["../../../../../src/generated/instructions/initializeNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,OAAO,EAGR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,OAAO,EACP,OAAO,EAOR,MAAM,gBAAgB,CAAC;AACxB,OAAO,
|
|
1
|
+
{"version":3,"file":"initializeNonceAccount.d.ts","sourceRoot":"","sources":["../../../../../src/generated/instructions/initializeNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,OAAO,EAGR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,OAAO,EACP,OAAO,EAOR,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,wBAAwB,EACxB,oBAAoB,EACpB,eAAe,EACf,eAAe,EAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,MAAM,MAAM,iCAAiC,CAC3C,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,oBAAoB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EACnE,+BAA+B,SAC3B,MAAM,GACN,YAAY,CAAC,MAAM,CAAC,GAAG,6CAA6C,EACxE,kBAAkB,SACd,MAAM,GACN,YAAY,CAAC,MAAM,CAAC,GAAG,6CAA6C,EACxE,kBAAkB,SAAS,SAAS,YAAY,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,IAC7D,YA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oBAAoB,EACpB,+BAA+B,EAC/B,kBAAkB,CACnB,GACA,iCAAiC,CAClC,OAAO,sBAAsB,EAC7B,oBAAoB,EACpB,+BAA+B,EAC/B,kBAAkB,CACnB,CAkDA;AAED,MAAM,MAAM,uCAAuC,CACjD,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,aAAa,SAAS,SAAS,YAAY,EAAE,GAAG,SAAS,YAAY,EAAE,IACrE;IACF,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACR,YAAY,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC/B,uBAAuB,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC1C,UAAU,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KAC9B,CAAC;IACF,IAAI,EAAE,qCAAqC,CAAC;CAC7C,CAAC;AAEF,wBAAgB,sCAAsC,CACpD,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,YAAY,EAAE,EAE7C,WAAW,EAAE,YAAY,CAAC,QAAQ,CAAC,GACjC,wBAAwB,CAAC,aAAa,CAAC,GACvC,oBAAoB,CAAC,UAAU,CAAC,GACjC,uCAAuC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAsBlE"}
|
|
@@ -9,12 +9,8 @@ import { Address } from '@solana/addresses';
|
|
|
9
9
|
import { Codec, Decoder, Encoder } from '@solana/codecs';
|
|
10
10
|
import { IAccountMeta, IInstruction, IInstructionWithAccounts, IInstructionWithData, WritableAccount, WritableSignerAccount } from '@solana/instructions';
|
|
11
11
|
import { IAccountSignerMeta, TransactionSigner } from '@solana/signers';
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
TAccountDestination extends string ? WritableAccount<TAccountDestination> : TAccountDestination,
|
|
15
|
-
...TRemainingAccounts
|
|
16
|
-
]>;
|
|
17
|
-
export type TransferSolInstructionWithSigners<TProgram extends string = '11111111111111111111111111111111', TAccountSource extends string | IAccountMeta<string> = string, TAccountDestination extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
|
|
12
|
+
import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
|
|
13
|
+
export type TransferSolInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountSource extends string | IAccountMeta<string> = string, TAccountDestination extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
|
|
18
14
|
TAccountSource extends string ? WritableSignerAccount<TAccountSource> & IAccountSignerMeta<TAccountSource> : TAccountSource,
|
|
19
15
|
TAccountDestination extends string ? WritableAccount<TAccountDestination> : TAccountDestination,
|
|
20
16
|
...TRemainingAccounts
|
|
@@ -29,23 +25,13 @@ export type TransferSolInstructionDataArgs = {
|
|
|
29
25
|
export declare function getTransferSolInstructionDataEncoder(): Encoder<TransferSolInstructionDataArgs>;
|
|
30
26
|
export declare function getTransferSolInstructionDataDecoder(): Decoder<TransferSolInstructionData>;
|
|
31
27
|
export declare function getTransferSolInstructionDataCodec(): Codec<TransferSolInstructionDataArgs, TransferSolInstructionData>;
|
|
32
|
-
export type TransferSolInput<TAccountSource extends string, TAccountDestination extends string> = {
|
|
33
|
-
source: Address<TAccountSource>;
|
|
34
|
-
destination: Address<TAccountDestination>;
|
|
35
|
-
amount: TransferSolInstructionDataArgs['amount'];
|
|
36
|
-
};
|
|
37
|
-
export type TransferSolInputWithSigners<TAccountSource extends string, TAccountDestination extends string> = {
|
|
28
|
+
export type TransferSolInput<TAccountSource extends string = string, TAccountDestination extends string = string> = {
|
|
38
29
|
source: TransactionSigner<TAccountSource>;
|
|
39
30
|
destination: Address<TAccountDestination>;
|
|
40
31
|
amount: TransferSolInstructionDataArgs['amount'];
|
|
41
32
|
};
|
|
42
|
-
export declare function getTransferSolInstruction<TAccountSource extends string, TAccountDestination extends string
|
|
43
|
-
export
|
|
44
|
-
export declare function getTransferSolInstructionRaw<TProgram extends string = '11111111111111111111111111111111', TAccountSource extends string | IAccountMeta<string> = string, TAccountDestination extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []>(accounts: {
|
|
45
|
-
source: TAccountSource extends string ? Address<TAccountSource> : TAccountSource;
|
|
46
|
-
destination: TAccountDestination extends string ? Address<TAccountDestination> : TAccountDestination;
|
|
47
|
-
}, args: TransferSolInstructionDataArgs, programAddress?: Address<TProgram>, remainingAccounts?: TRemainingAccounts): TransferSolInstruction<TProgram, TAccountSource, TAccountDestination, TRemainingAccounts>;
|
|
48
|
-
export type ParsedTransferSolInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
|
|
33
|
+
export declare function getTransferSolInstruction<TAccountSource extends string, TAccountDestination extends string>(input: TransferSolInput<TAccountSource, TAccountDestination>): TransferSolInstruction<typeof SYSTEM_PROGRAM_ADDRESS, TAccountSource, TAccountDestination>;
|
|
34
|
+
export type ParsedTransferSolInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
|
|
49
35
|
programAddress: Address<TProgram>;
|
|
50
36
|
accounts: {
|
|
51
37
|
source: TAccountMetas[0];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transferSol.d.ts","sourceRoot":"","sources":["../../../../../src/generated/instructions/transferSol.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACL,KAAK,EACL,OAAO,EACP,OAAO,EASR,MAAM,gBAAgB,CAAC;AACxB,OAAO,
|
|
1
|
+
{"version":3,"file":"transferSol.d.ts","sourceRoot":"","sources":["../../../../../src/generated/instructions/transferSol.ts"],"names":[],"mappings":"AAAA;;;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resses';
|
|
|
9
9
|
import { Codec, Decoder, Encoder } from '@solana/codecs';
|
|
10
10
|
import { IAccountMeta, IInstruction, IInstructionWithAccounts, IInstructionWithData, ReadonlySignerAccount, WritableAccount } from '@solana/instructions';
|
|
11
11
|
import { IAccountSignerMeta, TransactionSigner } from '@solana/signers';
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
TAccountBaseAccount extends string ? ReadonlySignerAccount<TAccountBaseAccount> : TAccountBaseAccount,
|
|
15
|
-
TAccountDestination extends string ? WritableAccount<TAccountDestination> : TAccountDestination,
|
|
16
|
-
...TRemainingAccounts
|
|
17
|
-
]>;
|
|
18
|
-
export type TransferSolWithSeedInstructionWithSigners<TProgram extends string = '11111111111111111111111111111111', TAccountSource extends string | IAccountMeta<string> = string, TAccountBaseAccount extends string | IAccountMeta<string> = string, TAccountDestination extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
|
|
12
|
+
import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
|
|
13
|
+
export type TransferSolWithSeedInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountSource extends string | IAccountMeta<string> = string, TAccountBaseAccount extends string | IAccountMeta<string> = string, TAccountDestination extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
|
|
19
14
|
TAccountSource extends string ? WritableAccount<TAccountSource> : TAccountSource,
|
|
20
15
|
TAccountBaseAccount extends string ? ReadonlySignerAccount<TAccountBaseAccount> & IAccountSignerMeta<TAccountBaseAccount> : TAccountBaseAccount,
|
|
21
16
|
TAccountDestination extends string ? WritableAccount<TAccountDestination> : TAccountDestination,
|
|
@@ -35,15 +30,7 @@ export type TransferSolWithSeedInstructionDataArgs = {
|
|
|
35
30
|
export declare function getTransferSolWithSeedInstructionDataEncoder(): Encoder<TransferSolWithSeedInstructionDataArgs>;
|
|
36
31
|
export declare function getTransferSolWithSeedInstructionDataDecoder(): Decoder<TransferSolWithSeedInstructionData>;
|
|
37
32
|
export declare function getTransferSolWithSeedInstructionDataCodec(): Codec<TransferSolWithSeedInstructionDataArgs, TransferSolWithSeedInstructionData>;
|
|
38
|
-
export type TransferSolWithSeedInput<TAccountSource extends string, TAccountBaseAccount extends string, TAccountDestination extends string> = {
|
|
39
|
-
source: Address<TAccountSource>;
|
|
40
|
-
baseAccount: Address<TAccountBaseAccount>;
|
|
41
|
-
destination: Address<TAccountDestination>;
|
|
42
|
-
amount: TransferSolWithSeedInstructionDataArgs['amount'];
|
|
43
|
-
fromSeed: TransferSolWithSeedInstructionDataArgs['fromSeed'];
|
|
44
|
-
fromOwner: TransferSolWithSeedInstructionDataArgs['fromOwner'];
|
|
45
|
-
};
|
|
46
|
-
export type TransferSolWithSeedInputWithSigners<TAccountSource extends string, TAccountBaseAccount extends string, TAccountDestination extends string> = {
|
|
33
|
+
export type TransferSolWithSeedInput<TAccountSource extends string = string, TAccountBaseAccount extends string = string, TAccountDestination extends string = string> = {
|
|
47
34
|
source: Address<TAccountSource>;
|
|
48
35
|
baseAccount: TransactionSigner<TAccountBaseAccount>;
|
|
49
36
|
destination: Address<TAccountDestination>;
|
|
@@ -51,14 +38,8 @@ export type TransferSolWithSeedInputWithSigners<TAccountSource extends string, T
|
|
|
51
38
|
fromSeed: TransferSolWithSeedInstructionDataArgs['fromSeed'];
|
|
52
39
|
fromOwner: TransferSolWithSeedInstructionDataArgs['fromOwner'];
|
|
53
40
|
};
|
|
54
|
-
export declare function getTransferSolWithSeedInstruction<TAccountSource extends string, TAccountBaseAccount extends string, TAccountDestination extends string
|
|
55
|
-
export
|
|
56
|
-
export declare function getTransferSolWithSeedInstructionRaw<TProgram extends string = '11111111111111111111111111111111', TAccountSource extends string | IAccountMeta<string> = string, TAccountBaseAccount extends string | IAccountMeta<string> = string, TAccountDestination extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []>(accounts: {
|
|
57
|
-
source: TAccountSource extends string ? Address<TAccountSource> : TAccountSource;
|
|
58
|
-
baseAccount: TAccountBaseAccount extends string ? Address<TAccountBaseAccount> : TAccountBaseAccount;
|
|
59
|
-
destination: TAccountDestination extends string ? Address<TAccountDestination> : TAccountDestination;
|
|
60
|
-
}, args: TransferSolWithSeedInstructionDataArgs, programAddress?: Address<TProgram>, remainingAccounts?: TRemainingAccounts): TransferSolWithSeedInstruction<TProgram, TAccountSource, TAccountBaseAccount, TAccountDestination, TRemainingAccounts>;
|
|
61
|
-
export type ParsedTransferSolWithSeedInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
|
|
41
|
+
export declare function getTransferSolWithSeedInstruction<TAccountSource extends string, TAccountBaseAccount extends string, TAccountDestination extends string>(input: TransferSolWithSeedInput<TAccountSource, TAccountBaseAccount, TAccountDestination>): TransferSolWithSeedInstruction<typeof SYSTEM_PROGRAM_ADDRESS, TAccountSource, TAccountBaseAccount, TAccountDestination>;
|
|
42
|
+
export type ParsedTransferSolWithSeedInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
|
|
62
43
|
programAddress: Address<TProgram>;
|
|
63
44
|
accounts: {
|
|
64
45
|
source: TAccountMetas[0];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transferSolWithSeed.d.ts","sourceRoot":"","sources":["../../../../../src/generated/instructions/transferSolWithSeed.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,OAAO,EAGR,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EACL,KAAK,EACL,OAAO,EACP,OAAO,EAWR,MAAM,gBAAgB,CAAC;AACxB,OAAO,
|
|
1
|
+
{"version":3,"file":"transferSolWithSeed.d.ts","sourceRoot":"","s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ACvD,aAAa,SAAS,SAAS,YAAY,EAAE,GAAG,SAAS,YAAY,EAAE,IACrE;IACF,cAAc,EAAE,OAAO,CAAC,QAAQ,CAAC,CAAC;IAClC,QAAQ,EAAE;QACR,MAAM,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QACzB,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;QAC9B,WAAW,EAAE,aAAa,CAAC,CAAC,CAAC,CAAC;KAC/B,CAAC;IACF,IAAI,EAAE,kCAAkC,CAAC;CAC1C,CAAC;AAEF,wBAAgB,mCAAmC,CACjD,QAAQ,SAAS,MAAM,EACvB,aAAa,SAAS,SAAS,YAAY,EAAE,EAE7C,WAAW,EAAE,YAAY,CAAC,QAAQ,CAAC,GACjC,wBAAwB,CAAC,aAAa,CAAC,GACvC,oBAAoB,CAAC,UAAU,CAAC,GACjC,oCAAoC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAsB/D"}
|
|
@@ -8,11 +8,8 @@
|
|
|
8
8
|
import { Address } from '@solana/addresses';
|
|
9
9
|
import { Codec, Decoder, Encoder } from '@solana/codecs';
|
|
10
10
|
import { IAccountMeta, IInstruction, IInstructionWithAccounts, IInstructionWithData, WritableAccount } from '@solana/instructions';
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
...TRemainingAccounts
|
|
14
|
-
]>;
|
|
15
|
-
export type UpgradeNonceAccountInstructionWithSigners<TProgram extends string = '11111111111111111111111111111111', TAccountNonceAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
|
|
11
|
+
import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
|
|
12
|
+
export type UpgradeNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountNonceAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
|
|
16
13
|
TAccountNonceAccount extends string ? WritableAccount<TAccountNonceAccount> : TAccountNonceAccount,
|
|
17
14
|
...TRemainingAccounts
|
|
18
15
|
]>;
|
|
@@ -23,18 +20,11 @@ export type UpgradeNonceAccountInstructionDataArgs = {};
|
|
|
23
20
|
export declare function getUpgradeNonceAccountInstructionDataEncoder(): Encoder<UpgradeNonceAccountInstructionDataArgs>;
|
|
24
21
|
export declare function getUpgradeNonceAccountInstructionDataDecoder(): Decoder<UpgradeNonceAccountInstructionData>;
|
|
25
22
|
export declare function getUpgradeNonceAccountInstructionDataCodec(): Codec<UpgradeNonceAccountInstructionDataArgs, UpgradeNonceAccountInstructionData>;
|
|
26
|
-
export type UpgradeNonceAccountInput<TAccountNonceAccount extends string> = {
|
|
27
|
-
nonceAccount: Address<TAccountNonceAccount>;
|
|
28
|
-
};
|
|
29
|
-
export type UpgradeNonceAccountInputWithSigners<TAccountNonceAccount extends string> = {
|
|
23
|
+
export type UpgradeNonceAccountInput<TAccountNonceAccount extends string = string> = {
|
|
30
24
|
nonceAccount: Address<TAccountNonceAccount>;
|
|
31
25
|
};
|
|
32
|
-
export declare function getUpgradeNonceAccountInstruction<TAccountNonceAccount extends string
|
|
33
|
-
export
|
|
34
|
-
export declare function getUpgradeNonceAccountInstructionRaw<TProgram extends string = '11111111111111111111111111111111', TAccountNonceAccount extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []>(accounts: {
|
|
35
|
-
nonceAccount: TAccountNonceAccount extends string ? Address<TAccountNonceAccount> : TAccountNonceAccount;
|
|
36
|
-
}, programAddress?: Address<TProgram>, remainingAccounts?: TRemainingAccounts): UpgradeNonceAccountInstruction<TProgram, TAccountNonceAccount, TRemainingAccounts>;
|
|
37
|
-
export type ParsedUpgradeNonceAccountInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
|
|
26
|
+
export declare function getUpgradeNonceAccountInstruction<TAccountNonceAccount extends string>(input: UpgradeNonceAccountInput<TAccountNonceAccount>): UpgradeNonceAccountInstruction<typeof SYSTEM_PROGRAM_ADDRESS, TAccountNonceAccount>;
|
|
27
|
+
export type ParsedUpgradeNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
|
|
38
28
|
programAddress: Address<TProgram>;
|
|
39
29
|
accounts: {
|
|
40
30
|
nonceAccount: TAccountMetas[0];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upgradeNonceAccount.d.ts","sourceRoot":"","sources":["../../../../../src/generated/instructions/upgradeNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACL,KAAK,EACL,OAAO,EACP,OAAO,EAOR,MAAM,gBAAgB,CAAC;AACxB,OAAO,
|
|
1
|
+
{"version":3,"file":"upgradeNonceAccount.d.ts","sourceRoot":"","sources":["../../../../../src/generated/instructions/upgradeNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACL,KAAK,EACL,OAAO,EACP,OAAO,EAOR,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,wBAAwB,EACxB,oBAAoB,EACpB,eAAe,EAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,MAAM,MAAM,8BAA8B,CACxC,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,oBAAoB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EACnE,kBAAkB,SAAS,SAAS,YAAY,CAAC,MAAM,CAAC,EAAE,GAAG,EAA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Y,CAAC,QAAQ,CAAC,GACjC,wBAAwB,CAAC,aAAa,CAAC,GACvC,oBAAoB,CAAC,UAAU,CAAC,GACjC,oCAAoC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAoB/D"}
|
|
@@ -9,15 +9,8 @@ import { Address } from '@solana/addresses';
|
|
|
9
9
|
import { Codec, Decoder, Encoder } from '@solana/codecs';
|
|
10
10
|
import { IAccountMeta, IInstruction, IInstructionWithAccounts, IInstructionWithData, ReadonlyAccount, ReadonlySignerAccount, WritableAccount } from '@solana/instructions';
|
|
11
11
|
import { IAccountSignerMeta, TransactionSigner } from '@solana/signers';
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
TAccountRecipientAccount extends string ? WritableAccount<TAccountRecipientAccount> : TAccountRecipientAccount,
|
|
15
|
-
TAccountRecentBlockhashesSysvar extends string ? ReadonlyAccount<TAccountRecentBlockhashesSysvar> : TAccountRecentBlockhashesSysvar,
|
|
16
|
-
TAccountRentSysvar extends string ? ReadonlyAccount<TAccountRentSysvar> : TAccountRentSysvar,
|
|
17
|
-
TAccountNonceAuthority extends string ? ReadonlySignerAccount<TAccountNonceAuthority> : TAccountNonceAuthority,
|
|
18
|
-
...TRemainingAccounts
|
|
19
|
-
]>;
|
|
20
|
-
export type WithdrawNonceAccountInstructionWithSigners<TProgram extends string = '11111111111111111111111111111111', TAccountNonceAccount extends string | IAccountMeta<string> = string, TAccountRecipientAccount extends string | IAccountMeta<string> = string, TAccountRecentBlockhashesSysvar extends string | IAccountMeta<string> = 'SysvarRecentB1ockHashes11111111111111111111', TAccountRentSysvar extends string | IAccountMeta<string> = 'SysvarRent111111111111111111111111111111111', TAccountNonceAuthority extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
|
|
12
|
+
import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
|
|
13
|
+
export type WithdrawNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountNonceAccount extends string | IAccountMeta<string> = string, TAccountRecipientAccount extends string | IAccountMeta<string> = string, TAccountRecentBlockhashesSysvar extends string | IAccountMeta<string> = 'SysvarRecentB1ockHashes11111111111111111111', TAccountRentSysvar extends string | IAccountMeta<string> = 'SysvarRent111111111111111111111111111111111', TAccountNonceAuthority extends string | IAccountMeta<string> = string, TRemainingAccounts extends readonly IAccountMeta<string>[] = []> = IInstruction<TProgram> & IInstructionWithData<Uint8Array> & IInstructionWithAccounts<[
|
|
21
14
|
TAccountNonceAccount extends string ? WritableAccount<TAccountNonceAccount> : TAccountNonceAccount,
|
|
22
15
|
TAccountRecipientAccount extends string ? WritableAccount<TAccountRecipientAccount> : TAccountRecipientAccount,
|
|
23
16
|
TAccountRecentBlockhashesSysvar extends string ? ReadonlyAccount<TAccountRecentBlockhashesSysvar> : TAccountRecentBlockhashesSysvar,
|
|
@@ -35,15 +28,7 @@ export type WithdrawNonceAccountInstructionDataArgs = {
|
|
|
35
28
|
export declare function getWithdrawNonceAccountInstructionDataEncoder(): Encoder<WithdrawNonceAccountInstructionDataArgs>;
|
|
36
29
|
export declare function getWithdrawNonceAccountInstructionDataDecoder(): Decoder<WithdrawNonceAccountInstructionData>;
|
|
37
30
|
export declare function getWithdrawNonceAccountInstructionDataCodec(): Codec<WithdrawNonceAccountInstructionDataArgs, WithdrawNonceAccountInstructionData>;
|
|
38
|
-
export type WithdrawNonceAccountInput<TAccountNonceAccount extends string, TAccountRecipientAccount extends string, TAccountRecentBlockhashesSysvar extends string, TAccountRentSysvar extends string, TAccountNonceAuthority extends string> = {
|
|
39
|
-
nonceAccount: Address<TAccountNonceAccount>;
|
|
40
|
-
recipientAccount: Address<TAccountRecipientAccount>;
|
|
41
|
-
recentBlockhashesSysvar?: Address<TAccountRecentBlockhashesSysvar>;
|
|
42
|
-
rentSysvar?: Address<TAccountRentSysvar>;
|
|
43
|
-
nonceAuthority: Address<TAccountNonceAuthority>;
|
|
44
|
-
withdrawAmount: WithdrawNonceAccountInstructionDataArgs['withdrawAmount'];
|
|
45
|
-
};
|
|
46
|
-
export type WithdrawNonceAccountInputWithSigners<TAccountNonceAccount extends string, TAccountRecipientAccount extends string, TAccountRecentBlockhashesSysvar extends string, TAccountRentSysvar extends string, TAccountNonceAuthority extends string> = {
|
|
31
|
+
export type WithdrawNonceAccountInput<TAccountNonceAccount extends string = string, TAccountRecipientAccount extends string = string, TAccountRecentBlockhashesSysvar extends string = string, TAccountRentSysvar extends string = string, TAccountNonceAuthority extends string = string> = {
|
|
47
32
|
nonceAccount: Address<TAccountNonceAccount>;
|
|
48
33
|
recipientAccount: Address<TAccountRecipientAccount>;
|
|
49
34
|
recentBlockhashesSysvar?: Address<TAccountRecentBlockhashesSysvar>;
|
|
@@ -51,16 +36,8 @@ export type WithdrawNonceAccountInputWithSigners<TAccountNonceAccount extends st
|
|
|
51
36
|
nonceAuthority: TransactionSigner<TAccountNonceAuthority>;
|
|
52
37
|
withdrawAmount: WithdrawNonceAccountInstructionDataArgs['withdrawAmount'];
|
|
53
38
|
};
|
|
54
|
-
export declare function getWithdrawNonceAccountInstruction<TAccountNonceAccount extends string, TAccountRecipientAccount extends string, TAccountRecentBlockhashesSysvar extends string, TAccountRentSysvar extends string, TAccountNonceAuthority extends string
|
|
55
|
-
export
|
|
56
|
-
export declare function getWithdrawNonceAccountInstructionRaw<TProgram extends string = '11111111111111111111111111111111', TAccountNonceAccount extends string | IAccountMeta<string> = string, TAccountRecipientAccount extends string | IAccountMeta<string> = string, TAccountRecentBlockhashesSysvar extends string | IAccountMeta<string> = 'SysvarRecentB1ockHashes11111111111111111111', TAccountRentSysvar extends string | IAccountMeta<string> = 'SysvarRent111111111111111111111111111111111', TAccountNonceAuthority extends string | IAccountMeta<string> = string, TRemainingAccounts extends Array<IAccountMeta<string>> = []>(accounts: {
|
|
57
|
-
nonceAccount: TAccountNonceAccount extends string ? Address<TAccountNonceAccount> : TAccountNonceAccount;
|
|
58
|
-
recipientAccount: TAccountRecipientAccount extends string ? Address<TAccountRecipientAccount> : TAccountRecipientAccount;
|
|
59
|
-
recentBlockhashesSysvar?: TAccountRecentBlockhashesSysvar extends string ? Address<TAccountRecentBlockhashesSysvar> : TAccountRecentBlockhashesSysvar;
|
|
60
|
-
rentSysvar?: TAccountRentSysvar extends string ? Address<TAccountRentSysvar> : TAccountRentSysvar;
|
|
61
|
-
nonceAuthority: TAccountNonceAuthority extends string ? Address<TAccountNonceAuthority> : TAccountNonceAuthority;
|
|
62
|
-
}, args: WithdrawNonceAccountInstructionDataArgs, programAddress?: Address<TProgram>, remainingAccounts?: TRemainingAccounts): WithdrawNonceAccountInstruction<TProgram, TAccountNonceAccount, TAccountRecipientAccount, TAccountRecentBlockhashesSysvar, TAccountRentSysvar, TAccountNonceAuthority, TRemainingAccounts>;
|
|
63
|
-
export type ParsedWithdrawNonceAccountInstruction<TProgram extends string = '11111111111111111111111111111111', TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
|
|
39
|
+
export declare function getWithdrawNonceAccountInstruction<TAccountNonceAccount extends string, TAccountRecipientAccount extends string, TAccountRecentBlockhashesSysvar extends string, TAccountRentSysvar extends string, TAccountNonceAuthority extends string>(input: WithdrawNonceAccountInput<TAccountNonceAccount, TAccountRecipientAccount, TAccountRecentBlockhashesSysvar, TAccountRentSysvar, TAccountNonceAuthority>): WithdrawNonceAccountInstruction<typeof SYSTEM_PROGRAM_ADDRESS, TAccountNonceAccount, TAccountRecipientAccount, TAccountRecentBlockhashesSysvar, TAccountRentSysvar, TAccountNonceAuthority>;
|
|
40
|
+
export type ParsedWithdrawNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
|
|
64
41
|
programAddress: Address<TProgram>;
|
|
65
42
|
accounts: {
|
|
66
43
|
nonceAccount: TAccountMetas[0];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withdrawNonceAccount.d.ts","sourceRoot":"","sources":["../../../../../src/generated/instructions/withdrawNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACL,KAAK,EACL,OAAO,EACP,OAAO,EASR,MAAM,gBAAgB,CAAC;AACxB,OAAO,
|
|
1
|
+
{"version":3,"file":"withdrawNonceAccount.d.ts","sourceRoot":"","sources":["../../../../../src/generated/instructions/withdrawNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAE,OAAO,EAAE,MAAM,mBAAmB,CAAC;AAC5C,OAAO,EACL,KAAK,EACL,OAAO,EACP,OAAO,EASR,MAAM,gBAAgB,CAAC;AACxB,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,wBAAwB,EACxB,oBAAoB,EACpB,eAAe,EACf,qBAAqB,EACrB,eAAe,EAChB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,MAAM,MAAM,+BAA+B,CACzC,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,oBAAoB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EACnE,wBAAwB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EACvE,+BAA+B,SAC3B,MAAM,GACN,YAAY,CAAC,MAAM,CAAC,GAAG,6CAA6C,EACxE,kBAAkB,SACd,MAAM,GACN,YAAY,CAAC,MAAM,CAAC,GAAG,6CAA6C,EACxE,sBAAsB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EACrE,kBAAkB,SAAS,SAAS,YAAY,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,IAC7D,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EAE7C,WAAW,EAAE,YAAY,CAAC,QAAQ,CAAC,GACjC,wBAAwB,CAAC,aAAa,CAAC,GACvC,oBAAoB,CAAC,UAAU,CAAC,GACjC,qCAAqC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAwBhE"}
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
* @see https://github.com/metaplex-foundation/kinobi
|
|
7
7
|
*/
|
|
8
8
|
import { Address, ProgramDerivedAddress } from '@solana/addresses';
|
|
9
|
-
import {
|
|
9
|
+
import { IAccountMeta } from '@solana/instructions';
|
|
10
10
|
import { IAccountSignerMeta, TransactionSigner } from '@solana/signers';
|
|
11
11
|
/**
|
|
12
12
|
* Asserts that the given value is not null or undefined.
|
|
@@ -36,14 +36,6 @@ export type ResolvedAccount<T extends string = string, U extends Address<T> | Pr
|
|
|
36
36
|
isWritable: boolean;
|
|
37
37
|
value: U;
|
|
38
38
|
};
|
|
39
|
-
/**
|
|
40
|
-
* Add an account meta with a default role if only an address is provided.
|
|
41
|
-
* @internal
|
|
42
|
-
*/
|
|
43
|
-
export declare function accountMetaWithDefault<TAccount extends string | IAccountMeta<string>, TRole extends AccountRole>(account: TAccount | undefined, role: TRole): (TAccount extends string ? {
|
|
44
|
-
address: Address<TAccount>;
|
|
45
|
-
role: TRole;
|
|
46
|
-
} : TAccount) | undefined;
|
|
47
39
|
/**
|
|
48
40
|
* Defines an instruction that stores additional bytes on-chain.
|
|
49
41
|
* @internal
|
|
@@ -55,7 +47,7 @@ export type IInstructionWithByteDelta = {
|
|
|
55
47
|
* Get account metas and signers from resolved accounts.
|
|
56
48
|
* @internal
|
|
57
49
|
*/
|
|
58
|
-
export declare function
|
|
50
|
+
export declare function getAccountMetaFactory(programAddress: Address, optionalAccountStrategy: 'omitted' | 'programId'): (account: ResolvedAccount) => IAccountMeta | IAccountSignerMeta | undefined;
|
|
59
51
|
export declare function isTransactionSigner<TAddress extends string = string>(value: Address<TAddress> | ProgramDerivedAddress<TAddress> | TransactionSigner<TAddress>): value is TransactionSigner<TAddress>;
|
|
60
52
|
export declare function memcmp(data: Uint8Array, bytes: Uint8Array, offset: number): boolean;
|
|
61
53
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/shared/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,OAAO,EAEP,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/generated/shared/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EACL,OAAO,EAEP,qBAAqB,EACtB,MAAM,mBAAmB,CAAC;AAC3B,OAAO,EAEL,YAAY,EAEb,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,kBAAkB,EAElB,iBAAiB,EAClB,MAAM,iBAAiB,CAAC;AAEzB;;;GAGG;AACH,wBAAgB,UAAU,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,GAAG,IAAI,GAAG,SAAS,GAAG,CAAC,CAK5D;AAED;;;GAGG;AACH,wBAAgB,aAAa,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EACrD,KAAK,EACD,OAAO,CAAC,CAAC,CAAC,GACV,qBAAqB,CAAC,CAAC,CAAC,GACxB,iBAAiB,CAAC,CAAC,CAAC,GACpB,IAAI,GACJ,SAAS,GACZ,OAAO,CAAC,CAAC,CAAC,CAWZ;AAED;;;GAGG;AACH,wBAAgB,2BAA2B,CAAC,CAAC,SAAS,MAAM,GAAG,MAAM,EACnE,KAAK,EACD,OAAO,CAAC,CAAC,CAAC,GACV,qBAAqB,CAAC,CAAC,CAAC,GACxB,iBAAiB,CAAC,CAAC,CAAC,GACpB,IAAI,GACJ,SAAS,GACZ,qBAAqB,CAAC,CAAC,CAAC,CAK1B;AAED;;;GAGG;AACH,wBAAgB,uBAAuB,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|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "JavaScript client for the System program",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"module": "./dist/src/index.js",
|
|
@@ -33,23 +33,19 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@ava/typescript": "^4.1.0",
|
|
36
|
+
"@solana/eslint-config-solana": "^3.0.0",
|
|
36
37
|
"@solana/web3.js": "^2.0.0-preview",
|
|
37
38
|
"@solana/webcrypto-ed25519-polyfill": "^2.0.0-preview",
|
|
38
|
-
"@typescript-eslint/eslint-plugin": "^7.
|
|
39
|
-
"@typescript-eslint/parser": "^7.
|
|
40
|
-
"ava": "^6.1.
|
|
41
|
-
"eslint": "^8.0
|
|
42
|
-
"
|
|
43
|
-
"eslint-config-prettier": "^8.5.0",
|
|
44
|
-
"eslint-plugin-import": "^2.26.0",
|
|
45
|
-
"eslint-plugin-prettier": "^4.2.1",
|
|
46
|
-
"prettier": "^2.5.1",
|
|
39
|
+
"@typescript-eslint/eslint-plugin": "^7.3.1",
|
|
40
|
+
"@typescript-eslint/parser": "^7.3.1",
|
|
41
|
+
"ava": "^6.1.2",
|
|
42
|
+
"eslint": "^8.57.0",
|
|
43
|
+
"prettier": "^3.2.5",
|
|
47
44
|
"rimraf": "^5.0.5",
|
|
48
45
|
"tsup": "^8.0.2",
|
|
49
|
-
"typedoc": "^0.25.
|
|
50
|
-
"typedoc-plugin-expand-object-like-types": "^0.1.2",
|
|
46
|
+
"typedoc": "^0.25.12",
|
|
51
47
|
"typedoc-plugin-missing-exports": "^2.2.0",
|
|
52
|
-
"typescript": "^5.
|
|
48
|
+
"typescript": "^5.4.2"
|
|
53
49
|
},
|
|
54
50
|
"ava": {
|
|
55
51
|
"require": [
|