@solana-program/system 0.5.1 → 0.5.3
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.js +138 -39
- package/dist/src/index.js.map +1 -1
- package/dist/src/index.mjs +113 -40
- package/dist/src/index.mjs.map +1 -1
- package/dist/types/generated/accounts/index.d.ts +3 -3
- package/dist/types/generated/accounts/nonce.d.ts +3 -3
- package/dist/types/generated/errors/index.d.ts +3 -3
- package/dist/types/generated/errors/system.d.ts +3 -3
- package/dist/types/generated/index.d.ts +3 -3
- package/dist/types/generated/instructions/advanceNonceAccount.d.ts +8 -4
- package/dist/types/generated/instructions/advanceNonceAccount.d.ts.map +1 -1
- package/dist/types/generated/instructions/allocate.d.ts +8 -4
- package/dist/types/generated/instructions/allocate.d.ts.map +1 -1
- package/dist/types/generated/instructions/allocateWithSeed.d.ts +8 -4
- package/dist/types/generated/instructions/allocateWithSeed.d.ts.map +1 -1
- package/dist/types/generated/instructions/assign.d.ts +8 -4
- package/dist/types/generated/instructions/assign.d.ts.map +1 -1
- package/dist/types/generated/instructions/assignWithSeed.d.ts +8 -4
- package/dist/types/generated/instructions/assignWithSeed.d.ts.map +1 -1
- package/dist/types/generated/instructions/authorizeNonceAccount.d.ts +8 -4
- package/dist/types/generated/instructions/authorizeNonceAccount.d.ts.map +1 -1
- package/dist/types/generated/instructions/createAccount.d.ts +8 -4
- package/dist/types/generated/instructions/createAccount.d.ts.map +1 -1
- package/dist/types/generated/instructions/createAccountWithSeed.d.ts +8 -4
- package/dist/types/generated/instructions/createAccountWithSeed.d.ts.map +1 -1
- package/dist/types/generated/instructions/index.d.ts +3 -3
- package/dist/types/generated/instructions/initializeNonceAccount.d.ts +8 -4
- package/dist/types/generated/instructions/initializeNonceAccount.d.ts.map +1 -1
- package/dist/types/generated/instructions/transferSol.d.ts +8 -4
- package/dist/types/generated/instructions/transferSol.d.ts.map +1 -1
- package/dist/types/generated/instructions/transferSolWithSeed.d.ts +8 -4
- package/dist/types/generated/instructions/transferSolWithSeed.d.ts.map +1 -1
- package/dist/types/generated/instructions/upgradeNonceAccount.d.ts +8 -4
- package/dist/types/generated/instructions/upgradeNonceAccount.d.ts.map +1 -1
- package/dist/types/generated/instructions/withdrawNonceAccount.d.ts +8 -4
- package/dist/types/generated/instructions/withdrawNonceAccount.d.ts.map +1 -1
- package/dist/types/generated/programs/index.d.ts +3 -3
- package/dist/types/generated/programs/system.d.ts +3 -3
- package/dist/types/generated/shared/index.d.ts +3 -3
- package/dist/types/generated/types/index.d.ts +3 -3
- package/dist/types/generated/types/nonceState.d.ts +3 -3
- package/dist/types/generated/types/nonceVersion.d.ts +3 -3
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transferSolWithSeed.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/transferSolWithSeed.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAeL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,MAAM,MAAM,8BAA8B,CACxC,QAAQ,SAAS,MAAM,GAAG,OAAO,sBAAsB,EACvD,cAAc,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EAC7D,mBAAmB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EAClE,mBAAmB,SAAS,MAAM,GAAG,YAAY,CAAC,MAAM,CAAC,GAAG,MAAM,EAClE,kBAAkB,SAAS,SAAS,YAAY,CAAC,MAAM,CAAC,EAAE,GAAG,EAAE,IAC7D,YAAY,CAAC,QAAQ,CAAC,GACxB,oBAAoB,CAAC,UAAU,CAAC,GAChC,wBAAwB,CACtB;IACE,cAAc,SAAS,MAAM,GACzB,eAAe,CAAC,cAAc,CAAC,GAC/B,cAAc;IAClB,mBAAmB,SAAS,MAAM,GAC9B,qBAAqB,CAAC,mBAAmB,CAAC,GACxC,kBAAkB,CAAC,mBAAmB,CAAC,GACzC,mBAAmB;IACvB,mBAAmB,SAAS,MAAM,GAC9B,eAAe,CAAC,mBAAmB,CAAC,GACpC,mBAAmB;IACvB,GAAG,kBAAkB;CACtB,CACF,CAAC;AAEJ,MAAM,MAAM,kCAAkC,GAAG;IAC/C,aAAa,EAAE,MAAM,CAAC;IACtB,MAAM,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,sCAAsC,GAAG;IACnD,MAAM,EAAE,MAAM,GAAG,MAAM,CAAC;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,SAAS,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,wBAAgB,4CAA4C,IAAI,OAAO,CAAC,sCAAsC,CAAC,
|
|
1
|
+
{"version":3,"file":"transferSolWithSeed.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/transferSolWithSeed.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAeL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,eAAO,MAAM,oCAAoC,KAAK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AC;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"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This code was AUTOGENERATED using the
|
|
2
|
+
* This code was AUTOGENERATED using the codama library.
|
|
3
3
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun
|
|
4
|
+
* to add features, then rerun codama to update it.
|
|
5
5
|
*
|
|
6
|
-
* @see https://github.com/
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
7
|
*/
|
|
8
8
|
import { type Address, type Codec, type Decoder, type Encoder, type IAccountMeta, type IInstruction, type IInstructionWithAccounts, type IInstructionWithData, type WritableAccount } from '@solana/web3.js';
|
|
9
9
|
import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
|
|
10
|
+
export declare const UPGRADE_NONCE_ACCOUNT_DISCRIMINATOR = 12;
|
|
11
|
+
export declare function getUpgradeNonceAccountDiscriminatorBytes(): import("@solana/web3.js").ReadonlyUint8Array;
|
|
10
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<[
|
|
11
13
|
TAccountNonceAccount extends string ? WritableAccount<TAccountNonceAccount> : TAccountNonceAccount,
|
|
12
14
|
...TRemainingAccounts
|
|
@@ -21,7 +23,9 @@ export declare function getUpgradeNonceAccountInstructionDataCodec(): Codec<Upgr
|
|
|
21
23
|
export type UpgradeNonceAccountInput<TAccountNonceAccount extends string = string> = {
|
|
22
24
|
nonceAccount: Address<TAccountNonceAccount>;
|
|
23
25
|
};
|
|
24
|
-
export declare function getUpgradeNonceAccountInstruction<TAccountNonceAccount extends string>(input: UpgradeNonceAccountInput<TAccountNonceAccount
|
|
26
|
+
export declare function getUpgradeNonceAccountInstruction<TAccountNonceAccount extends string, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: UpgradeNonceAccountInput<TAccountNonceAccount>, config?: {
|
|
27
|
+
programAddress?: TProgramAddress;
|
|
28
|
+
}): UpgradeNonceAccountInstruction<TProgramAddress, TAccountNonceAccount>;
|
|
25
29
|
export type ParsedUpgradeNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
|
|
26
30
|
programAddress: Address<TProgram>;
|
|
27
31
|
accounts: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"upgradeNonceAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/upgradeNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAOL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACrB,MAAM,iBAAiB,CAAC;AACzB,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,EAAE,IAC7D,YAAY,CAAC,QAAQ,CAAC,GACxB,oBAAoB,CAAC,UAAU,CAAC,GAChC,wBAAwB,CACtB;IACE,oBAAoB,SAAS,MAAM,GAC/B,eAAe,CAAC,oBAAoB,CAAC,GACrC,oBAAoB;IACxB,GAAG,kBAAkB;CACtB,CACF,CAAC;AAEJ,MAAM,MAAM,kCAAkC,GAAG;IAAE,aAAa,EAAE,MAAM,CAAA;CAAE,CAAC;AAE3E,MAAM,MAAM,sCAAsC,GAAG,EAAE,CAAC;AAExD,wBAAgB,4CAA4C,IAAI,OAAO,CAAC,sCAAsC,CAAC,
|
|
1
|
+
{"version":3,"file":"upgradeNonceAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/upgradeNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAOL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,eAAO,MAAM,mCAAmC,KAAK,CAAC;AAEtD,wBAAgB,wCAAwC,iDAEvD;AAED,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,EAAE,IAC7D,YAAY,CAAC,QAAQ,CAAC,GACxB,oBAAoB,CAAC,UAAU,CAAC,GAChC,wBAAwB,CACtB;IACE,oBAAoB,SAAS,MAAM,GAC/B,eAAe,CAAC,oBAAoB,CAAC,GACrC,oBAAoB;IACxB,GAAG,kBAAkB;CACtB,CACF,CAAC;AAEJ,MAAM,MA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Q,EAAE,aAAa,CAAC,CAoB/D"}
|
|
@@ -1,12 +1,14 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This code was AUTOGENERATED using the
|
|
2
|
+
* This code was AUTOGENERATED using the codama library.
|
|
3
3
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun
|
|
4
|
+
* to add features, then rerun codama to update it.
|
|
5
5
|
*
|
|
6
|
-
* @see https://github.com/
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
7
|
*/
|
|
8
8
|
import { type Address, type Codec, type Decoder, type Encoder, type IAccountMeta, type IAccountSignerMeta, type IInstruction, type IInstructionWithAccounts, type IInstructionWithData, type ReadonlyAccount, type ReadonlySignerAccount, type TransactionSigner, type WritableAccount } from '@solana/web3.js';
|
|
9
9
|
import { SYSTEM_PROGRAM_ADDRESS } from '../programs';
|
|
10
|
+
export declare const WITHDRAW_NONCE_ACCOUNT_DISCRIMINATOR = 5;
|
|
11
|
+
export declare function getWithdrawNonceAccountDiscriminatorBytes(): import("@solana/web3.js").ReadonlyUint8Array;
|
|
10
12
|
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<[
|
|
11
13
|
TAccountNonceAccount extends string ? WritableAccount<TAccountNonceAccount> : TAccountNonceAccount,
|
|
12
14
|
TAccountRecipientAccount extends string ? WritableAccount<TAccountRecipientAccount> : TAccountRecipientAccount,
|
|
@@ -33,7 +35,9 @@ export type WithdrawNonceAccountInput<TAccountNonceAccount extends string = stri
|
|
|
33
35
|
nonceAuthority: TransactionSigner<TAccountNonceAuthority>;
|
|
34
36
|
withdrawAmount: WithdrawNonceAccountInstructionDataArgs['withdrawAmount'];
|
|
35
37
|
};
|
|
36
|
-
export declare function getWithdrawNonceAccountInstruction<TAccountNonceAccount extends string, TAccountRecipientAccount extends string, TAccountRecentBlockhashesSysvar extends string, TAccountRentSysvar extends string, TAccountNonceAuthority extends string
|
|
38
|
+
export declare function getWithdrawNonceAccountInstruction<TAccountNonceAccount extends string, TAccountRecipientAccount extends string, TAccountRecentBlockhashesSysvar extends string, TAccountRentSysvar extends string, TAccountNonceAuthority extends string, TProgramAddress extends Address = typeof SYSTEM_PROGRAM_ADDRESS>(input: WithdrawNonceAccountInput<TAccountNonceAccount, TAccountRecipientAccount, TAccountRecentBlockhashesSysvar, TAccountRentSysvar, TAccountNonceAuthority>, config?: {
|
|
39
|
+
programAddress?: TProgramAddress;
|
|
40
|
+
}): WithdrawNonceAccountInstruction<TProgramAddress, TAccountNonceAccount, TAccountRecipientAccount, TAccountRecentBlockhashesSysvar, TAccountRentSysvar, TAccountNonceAuthority>;
|
|
37
41
|
export type ParsedWithdrawNonceAccountInstruction<TProgram extends string = typeof SYSTEM_PROGRAM_ADDRESS, TAccountMetas extends readonly IAccountMeta[] = readonly IAccountMeta[]> = {
|
|
38
42
|
programAddress: Address<TProgram>;
|
|
39
43
|
accounts: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withdrawNonceAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/withdrawNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EASL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,eAAe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Ac,EAAE,MAAM,CAAC;CACxB,CAAC;AAEF,MAAM,MAAM,uCAAuC,GAAG;IACpD,cAAc,EAAE,MAAM,GAAG,MAAM,CAAC;CACjC,CAAC;AAEF,wBAAgB,6CAA6C,IAAI,OAAO,CAAC,uCAAuC,CAAC,
|
|
1
|
+
{"version":3,"file":"withdrawNonceAccount.d.ts","sourceRoot":"","sources":["../../../../src/generated/instructions/withdrawNonceAccount.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EASL,KAAK,OAAO,EACZ,KAAK,KAAK,EACV,KAAK,OAAO,EACZ,KAAK,OAAO,EACZ,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,YAAY,EACjB,KAAK,wBAAwB,EAC7B,KAAK,oBAAoB,EACzB,KAAK,eAAe,EACpB,KAAK,qBAAqB,EAC1B,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACrB,MAAM,iBAAiB,CAAC;AACzB,OAAO,EAAE,sBAAsB,EAAE,MAAM,aAAa,CAAC;AAGrD,eAAO,MAAM,oCAAoC,IAAI,CAAC;AAEtD,wBAAgB,yCAAyC,iDAExD;AAED,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,YAAY,CAAC,QAAQ,CAAC,GACxB,o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oCAAoC,CAClD,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,qCAAqC,CAAC,QAAQ,EAAE,aAAa,CAAC,CAwBhE"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This code was AUTOGENERATED using the
|
|
2
|
+
* This code was AUTOGENERATED using the codama library.
|
|
3
3
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun
|
|
4
|
+
* to add features, then rerun codama to update it.
|
|
5
5
|
*
|
|
6
|
-
* @see https://github.com/
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
7
|
*/
|
|
8
8
|
export * from './system';
|
|
9
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This code was AUTOGENERATED using the
|
|
2
|
+
* This code was AUTOGENERATED using the codama library.
|
|
3
3
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun
|
|
4
|
+
* to add features, then rerun codama to update it.
|
|
5
5
|
*
|
|
6
|
-
* @see https://github.com/
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
7
|
*/
|
|
8
8
|
import { type Address, type ReadonlyUint8Array } from '@solana/web3.js';
|
|
9
9
|
import { type ParsedAdvanceNonceAccountInstruction, type ParsedAllocateInstruction, type ParsedAllocateWithSeedInstruction, type ParsedAssignInstruction, type ParsedAssignWithSeedInstruction, type ParsedAuthorizeNonceAccountInstruction, type ParsedCreateAccountInstruction, type ParsedCreateAccountWithSeedInstruction, type ParsedInitializeNonceAccountInstruction, type ParsedTransferSolInstruction, type ParsedTransferSolWithSeedInstruction, type ParsedUpgradeNonceAccountInstruction, type ParsedWithdrawNonceAccountInstruction } from '../instructions';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This code was AUTOGENERATED using the
|
|
2
|
+
* This code was AUTOGENERATED using the codama library.
|
|
3
3
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun
|
|
4
|
+
* to add features, then rerun codama to update it.
|
|
5
5
|
*
|
|
6
|
-
* @see https://github.com/
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
7
|
*/
|
|
8
8
|
import { type Address, type IAccountMeta, type IAccountSignerMeta, type ProgramDerivedAddress, type TransactionSigner } from '@solana/web3.js';
|
|
9
9
|
/**
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This code was AUTOGENERATED using the
|
|
2
|
+
* This code was AUTOGENERATED using the codama library.
|
|
3
3
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun
|
|
4
|
+
* to add features, then rerun codama to update it.
|
|
5
5
|
*
|
|
6
|
-
* @see https://github.com/
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
7
|
*/
|
|
8
8
|
export * from './nonceState';
|
|
9
9
|
export * from './nonceVersion';
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This code was AUTOGENERATED using the
|
|
2
|
+
* This code was AUTOGENERATED using the codama library.
|
|
3
3
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun
|
|
4
|
+
* to add features, then rerun codama to update it.
|
|
5
5
|
*
|
|
6
|
-
* @see https://github.com/
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
7
|
*/
|
|
8
8
|
import { type Codec, type Decoder, type Encoder } from '@solana/web3.js';
|
|
9
9
|
export declare enum NonceState {
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* This code was AUTOGENERATED using the
|
|
2
|
+
* This code was AUTOGENERATED using the codama library.
|
|
3
3
|
* Please DO NOT EDIT THIS FILE, instead use visitors
|
|
4
|
-
* to add features, then rerun
|
|
4
|
+
* to add features, then rerun codama to update it.
|
|
5
5
|
*
|
|
6
|
-
* @see https://github.com/
|
|
6
|
+
* @see https://github.com/codama-idl/codama
|
|
7
7
|
*/
|
|
8
8
|
import { type Codec, type Decoder, type Encoder } from '@solana/web3.js';
|
|
9
9
|
export declare enum NonceVersion {
|