@blockrun/llm 0.2.0 → 0.2.1
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.
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
TransactionInstruction,
|
|
9
9
|
require_Layout,
|
|
10
10
|
sendAndConfirmTransaction
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-S7BEMV6T.js";
|
|
12
12
|
import {
|
|
13
13
|
__commonJS,
|
|
14
14
|
__require,
|
|
@@ -247,7 +247,7 @@ var require_node = __commonJS({
|
|
|
247
247
|
}
|
|
248
248
|
});
|
|
249
249
|
|
|
250
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
250
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/constants.js
|
|
251
251
|
var TOKEN_PROGRAM_ID = new PublicKey("TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA");
|
|
252
252
|
var TOKEN_2022_PROGRAM_ID = new PublicKey("TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb");
|
|
253
253
|
var ASSOCIATED_TOKEN_PROGRAM_ID = new PublicKey("ATokenGPvbdGVxr1b2hvZbsiqW5xWH25efTNsLJA8knL");
|
|
@@ -261,7 +261,7 @@ function programSupportsExtensions(programId) {
|
|
|
261
261
|
}
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
264
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/amountToUiAmount.js
|
|
265
265
|
var import_buffer_layout4 = __toESM(require_Layout(), 1);
|
|
266
266
|
|
|
267
267
|
// node_modules/.pnpm/@solana+buffer-layout-utils@0.2.0_bufferutil@4.1.0_typescript@5.9.3_utf-8-validate@5.0.10/node_modules/@solana/buffer-layout-utils/lib/esm/base.mjs
|
|
@@ -1692,7 +1692,7 @@ var publicKey = (property) => {
|
|
|
1692
1692
|
return publicKeyLayout;
|
|
1693
1693
|
};
|
|
1694
1694
|
|
|
1695
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
1695
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/errors.js
|
|
1696
1696
|
var TokenError = class extends Error {
|
|
1697
1697
|
constructor(message) {
|
|
1698
1698
|
super(message);
|
|
@@ -1807,7 +1807,7 @@ var TokenTransferHookPubkeyDataTooSmall = class extends TokenError {
|
|
|
1807
1807
|
}
|
|
1808
1808
|
};
|
|
1809
1809
|
|
|
1810
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
1810
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/types.js
|
|
1811
1811
|
var TokenInstruction;
|
|
1812
1812
|
(function(TokenInstruction2) {
|
|
1813
1813
|
TokenInstruction2[TokenInstruction2["InitializeMint"] = 0] = "InitializeMint";
|
|
@@ -1854,7 +1854,7 @@ var TokenInstruction;
|
|
|
1854
1854
|
TokenInstruction2[TokenInstruction2["PausableExtension"] = 44] = "PausableExtension";
|
|
1855
1855
|
})(TokenInstruction || (TokenInstruction = {}));
|
|
1856
1856
|
|
|
1857
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
1857
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/amountToUiAmount.js
|
|
1858
1858
|
var amountToUiAmountInstructionData = (0, import_buffer_layout4.struct)([
|
|
1859
1859
|
(0, import_buffer_layout4.u8)("instruction"),
|
|
1860
1860
|
u64("amount")
|
|
@@ -1896,10 +1896,10 @@ function decodeAmountToUiAmountInstructionUnchecked({ programId, keys: [mint], d
|
|
|
1896
1896
|
};
|
|
1897
1897
|
}
|
|
1898
1898
|
|
|
1899
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
1899
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/state/mint.js
|
|
1900
1900
|
var import_buffer_layout31 = __toESM(require_Layout(), 1);
|
|
1901
1901
|
|
|
1902
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
1902
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/accountType.js
|
|
1903
1903
|
var AccountType;
|
|
1904
1904
|
(function(AccountType2) {
|
|
1905
1905
|
AccountType2[AccountType2["Uninitialized"] = 0] = "Uninitialized";
|
|
@@ -1908,10 +1908,10 @@ var AccountType;
|
|
|
1908
1908
|
})(AccountType || (AccountType = {}));
|
|
1909
1909
|
var ACCOUNT_TYPE_SIZE = 1;
|
|
1910
1910
|
|
|
1911
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
1911
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/state/account.js
|
|
1912
1912
|
var import_buffer_layout6 = __toESM(require_Layout(), 1);
|
|
1913
1913
|
|
|
1914
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
1914
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/state/multisig.js
|
|
1915
1915
|
var import_buffer_layout5 = __toESM(require_Layout(), 1);
|
|
1916
1916
|
var MultisigLayout = (0, import_buffer_layout5.struct)([
|
|
1917
1917
|
(0, import_buffer_layout5.u8)("m"),
|
|
@@ -1948,7 +1948,7 @@ async function getMinimumBalanceForRentExemptMultisig(connection, commitment) {
|
|
|
1948
1948
|
return await connection.getMinimumBalanceForRentExemption(MULTISIG_SIZE, commitment);
|
|
1949
1949
|
}
|
|
1950
1950
|
|
|
1951
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
1951
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/state/account.js
|
|
1952
1952
|
var AccountState;
|
|
1953
1953
|
(function(AccountState2) {
|
|
1954
1954
|
AccountState2[AccountState2["Uninitialized"] = 0] = "Uninitialized";
|
|
@@ -2016,15 +2016,15 @@ function unpackAccount(address, info, programId = TOKEN_PROGRAM_ID) {
|
|
|
2016
2016
|
};
|
|
2017
2017
|
}
|
|
2018
2018
|
|
|
2019
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
2019
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/internal.js
|
|
2020
2020
|
function getSigners(signerOrMultisig, multiSigners) {
|
|
2021
2021
|
return signerOrMultisig instanceof PublicKey ? [signerOrMultisig, multiSigners] : [signerOrMultisig.publicKey, [signerOrMultisig]];
|
|
2022
2022
|
}
|
|
2023
2023
|
|
|
2024
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
2024
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/cpiGuard/instructions.js
|
|
2025
2025
|
var import_buffer_layout7 = __toESM(require_Layout(), 1);
|
|
2026
2026
|
|
|
2027
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
2027
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/internal.js
|
|
2028
2028
|
function addSigners(keys, ownerOrAuthority, multiSigners) {
|
|
2029
2029
|
if (multiSigners.length) {
|
|
2030
2030
|
keys.push({ pubkey: ownerOrAuthority, isSigner: false, isWritable: false });
|
|
@@ -2041,7 +2041,7 @@ function addSigners(keys, ownerOrAuthority, multiSigners) {
|
|
|
2041
2041
|
return keys;
|
|
2042
2042
|
}
|
|
2043
2043
|
|
|
2044
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
2044
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/cpiGuard/instructions.js
|
|
2045
2045
|
var CpiGuardInstruction;
|
|
2046
2046
|
(function(CpiGuardInstruction2) {
|
|
2047
2047
|
CpiGuardInstruction2[CpiGuardInstruction2["Enable"] = 0] = "Enable";
|
|
@@ -2067,7 +2067,7 @@ function createCpiGuardInstruction(cpiGuardInstruction, account, authority, mult
|
|
|
2067
2067
|
return new TransactionInstruction({ keys, programId, data });
|
|
2068
2068
|
}
|
|
2069
2069
|
|
|
2070
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
2070
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/cpiGuard/actions.js
|
|
2071
2071
|
async function enableCpiGuard(connection, payer, account, owner, multiSigners = [], confirmOptions, programId = TOKEN_2022_PROGRAM_ID) {
|
|
2072
2072
|
const [ownerPublicKey, signers] = getSigners(owner, multiSigners);
|
|
2073
2073
|
const transaction = new Transaction().add(createEnableCpiGuardInstruction(account, ownerPublicKey, signers, programId));
|
|
@@ -2079,7 +2079,7 @@ async function disableCpiGuard(connection, payer, account, owner, multiSigners =
|
|
|
2079
2079
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
2080
2080
|
}
|
|
2081
2081
|
|
|
2082
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
2082
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/cpiGuard/state.js
|
|
2083
2083
|
var import_buffer_layout8 = __toESM(require_Layout(), 1);
|
|
2084
2084
|
var CpiGuardLayout = (0, import_buffer_layout8.struct)([bool("lockCpi")]);
|
|
2085
2085
|
var CPI_GUARD_SIZE = CpiGuardLayout.span;
|
|
@@ -2092,7 +2092,7 @@ function getCpiGuard(account) {
|
|
|
2092
2092
|
}
|
|
2093
2093
|
}
|
|
2094
2094
|
|
|
2095
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
2095
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/defaultAccountState/instructions.js
|
|
2096
2096
|
var import_buffer_layout9 = __toESM(require_Layout(), 1);
|
|
2097
2097
|
var DefaultAccountStateInstruction;
|
|
2098
2098
|
(function(DefaultAccountStateInstruction2) {
|
|
@@ -2131,7 +2131,7 @@ function createUpdateDefaultAccountStateInstruction(mint, accountState, freezeAu
|
|
|
2131
2131
|
return new TransactionInstruction({ keys, programId, data });
|
|
2132
2132
|
}
|
|
2133
2133
|
|
|
2134
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
2134
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/defaultAccountState/actions.js
|
|
2135
2135
|
async function initializeDefaultAccountState(connection, payer, mint, state, confirmOptions, programId = TOKEN_2022_PROGRAM_ID) {
|
|
2136
2136
|
const transaction = new Transaction().add(createInitializeDefaultAccountStateInstruction(mint, state, programId));
|
|
2137
2137
|
return await sendAndConfirmTransaction(connection, transaction, [payer], confirmOptions);
|
|
@@ -2142,7 +2142,7 @@ async function updateDefaultAccountState(connection, payer, mint, state, freezeA
|
|
|
2142
2142
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
2143
2143
|
}
|
|
2144
2144
|
|
|
2145
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
2145
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/defaultAccountState/state.js
|
|
2146
2146
|
var import_buffer_layout10 = __toESM(require_Layout(), 1);
|
|
2147
2147
|
var DefaultAccountStateLayout = (0, import_buffer_layout10.struct)([(0, import_buffer_layout10.u8)("state")]);
|
|
2148
2148
|
var DEFAULT_ACCOUNT_STATE_SIZE = DefaultAccountStateLayout.span;
|
|
@@ -3384,7 +3384,7 @@ function getOptionEncoder(item, config = {}) {
|
|
|
3384
3384
|
);
|
|
3385
3385
|
}
|
|
3386
3386
|
|
|
3387
|
-
// node_modules/.pnpm/@solana+spl-token-group@0.0.7_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.
|
|
3387
|
+
// node_modules/.pnpm/@solana+spl-token-group@0.0.7_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-_25nfciaeblmy5i45wh47bfkwoy/node_modules/@solana/spl-token-group/lib/esm/instruction.js
|
|
3388
3388
|
function getInstructionEncoder(discriminator, dataEncoder) {
|
|
3389
3389
|
return transformEncoder(getTupleEncoder([getBytesEncoder(), dataEncoder]), (data) => [
|
|
3390
3390
|
discriminator,
|
|
@@ -3486,7 +3486,7 @@ function createInitializeMemberInstruction(args) {
|
|
|
3486
3486
|
});
|
|
3487
3487
|
}
|
|
3488
3488
|
|
|
3489
|
-
// node_modules/.pnpm/@solana+spl-token-group@0.0.7_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.
|
|
3489
|
+
// node_modules/.pnpm/@solana+spl-token-group@0.0.7_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-_25nfciaeblmy5i45wh47bfkwoy/node_modules/@solana/spl-token-group/lib/esm/state/tokenGroup.js
|
|
3490
3490
|
var tokenGroupCodec = getStructCodec([
|
|
3491
3491
|
["updateAuthority", fixCodecSize(getBytesCodec(), 32)],
|
|
3492
3492
|
["mint", fixCodecSize(getBytesCodec(), 32)],
|
|
@@ -3516,7 +3516,7 @@ function unpackTokenGroup(buffer) {
|
|
|
3516
3516
|
};
|
|
3517
3517
|
}
|
|
3518
3518
|
|
|
3519
|
-
// node_modules/.pnpm/@solana+spl-token-group@0.0.7_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.
|
|
3519
|
+
// node_modules/.pnpm/@solana+spl-token-group@0.0.7_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-_25nfciaeblmy5i45wh47bfkwoy/node_modules/@solana/spl-token-group/lib/esm/state/tokenGroupMember.js
|
|
3520
3520
|
var tokenGroupMemberCodec = getStructCodec([
|
|
3521
3521
|
["mint", fixCodecSize(getBytesCodec(), 32)],
|
|
3522
3522
|
["group", fixCodecSize(getBytesCodec(), 32)],
|
|
@@ -3532,7 +3532,7 @@ function unpackTokenGroupMember(buffer) {
|
|
|
3532
3532
|
};
|
|
3533
3533
|
}
|
|
3534
3534
|
|
|
3535
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3535
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/tokenGroup/actions.js
|
|
3536
3536
|
async function tokenGroupInitializeGroup(connection, payer, mint, mintAuthority, updateAuthority, maxSize, multiSigners = [], confirmOptions, programId = TOKEN_2022_PROGRAM_ID) {
|
|
3537
3537
|
const [mintAuthorityPublicKey, signers] = getSigners(mintAuthority, multiSigners);
|
|
3538
3538
|
const transaction = new Transaction().add(createInitializeGroupInstruction({
|
|
@@ -3612,7 +3612,7 @@ async function tokenGroupMemberInitializeWithRentTransfer(connection, payer, min
|
|
|
3612
3612
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
3613
3613
|
}
|
|
3614
3614
|
|
|
3615
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3615
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/tokenGroup/state.js
|
|
3616
3616
|
function getTokenGroupState(mint) {
|
|
3617
3617
|
const extensionData = getExtensionData(ExtensionType.TokenGroup, mint.tlvData);
|
|
3618
3618
|
if (extensionData !== null) {
|
|
@@ -3641,7 +3641,7 @@ function getTokenGroupMemberState(mint) {
|
|
|
3641
3641
|
}
|
|
3642
3642
|
}
|
|
3643
3643
|
|
|
3644
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3644
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/groupMemberPointer/state.js
|
|
3645
3645
|
var import_buffer_layout11 = __toESM(require_Layout(), 1);
|
|
3646
3646
|
var GroupMemberPointerLayout = (0, import_buffer_layout11.struct)([
|
|
3647
3647
|
publicKey("authority"),
|
|
@@ -3661,7 +3661,7 @@ function getGroupMemberPointerState(mint) {
|
|
|
3661
3661
|
}
|
|
3662
3662
|
}
|
|
3663
3663
|
|
|
3664
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3664
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/groupPointer/state.js
|
|
3665
3665
|
var import_buffer_layout12 = __toESM(require_Layout(), 1);
|
|
3666
3666
|
var GroupPointerLayout = (0, import_buffer_layout12.struct)([
|
|
3667
3667
|
publicKey("authority"),
|
|
@@ -3681,7 +3681,7 @@ function getGroupPointerState(mint) {
|
|
|
3681
3681
|
}
|
|
3682
3682
|
}
|
|
3683
3683
|
|
|
3684
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3684
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/immutableOwner.js
|
|
3685
3685
|
var import_buffer_layout13 = __toESM(require_Layout(), 1);
|
|
3686
3686
|
var ImmutableOwnerLayout = (0, import_buffer_layout13.struct)([]);
|
|
3687
3687
|
var IMMUTABLE_OWNER_SIZE = ImmutableOwnerLayout.span;
|
|
@@ -3694,7 +3694,7 @@ function getImmutableOwner(account) {
|
|
|
3694
3694
|
}
|
|
3695
3695
|
}
|
|
3696
3696
|
|
|
3697
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3697
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/interestBearingMint/state.js
|
|
3698
3698
|
var import_buffer_layout14 = __toESM(require_Layout(), 1);
|
|
3699
3699
|
var InterestBearingMintConfigStateLayout = (0, import_buffer_layout14.struct)([
|
|
3700
3700
|
publicKey("rateAuthority"),
|
|
@@ -3712,7 +3712,7 @@ function getInterestBearingMintConfigState(mint) {
|
|
|
3712
3712
|
return null;
|
|
3713
3713
|
}
|
|
3714
3714
|
|
|
3715
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3715
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/memoTransfer/instructions.js
|
|
3716
3716
|
var import_buffer_layout15 = __toESM(require_Layout(), 1);
|
|
3717
3717
|
var MemoTransferInstruction;
|
|
3718
3718
|
(function(MemoTransferInstruction2) {
|
|
@@ -3742,7 +3742,7 @@ function createMemoTransferInstruction(memoTransferInstruction, account, authori
|
|
|
3742
3742
|
return new TransactionInstruction({ keys, programId, data });
|
|
3743
3743
|
}
|
|
3744
3744
|
|
|
3745
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3745
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/memoTransfer/actions.js
|
|
3746
3746
|
async function enableRequiredMemoTransfers(connection, payer, account, owner, multiSigners = [], confirmOptions, programId = TOKEN_2022_PROGRAM_ID) {
|
|
3747
3747
|
const [ownerPublicKey, signers] = getSigners(owner, multiSigners);
|
|
3748
3748
|
const transaction = new Transaction().add(createEnableRequiredMemoTransfersInstruction(account, ownerPublicKey, signers, programId));
|
|
@@ -3754,7 +3754,7 @@ async function disableRequiredMemoTransfers(connection, payer, account, owner, m
|
|
|
3754
3754
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
3755
3755
|
}
|
|
3756
3756
|
|
|
3757
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3757
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/memoTransfer/state.js
|
|
3758
3758
|
var import_buffer_layout16 = __toESM(require_Layout(), 1);
|
|
3759
3759
|
var MemoTransferLayout = (0, import_buffer_layout16.struct)([bool("requireIncomingTransferMemos")]);
|
|
3760
3760
|
var MEMO_TRANSFER_SIZE = MemoTransferLayout.span;
|
|
@@ -3767,7 +3767,7 @@ function getMemoTransfer(account) {
|
|
|
3767
3767
|
}
|
|
3768
3768
|
}
|
|
3769
3769
|
|
|
3770
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3770
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/metadataPointer/state.js
|
|
3771
3771
|
var import_buffer_layout17 = __toESM(require_Layout(), 1);
|
|
3772
3772
|
var MetadataPointerLayout = (0, import_buffer_layout17.struct)([
|
|
3773
3773
|
publicKey("authority"),
|
|
@@ -3787,7 +3787,7 @@ function getMetadataPointerState(mint) {
|
|
|
3787
3787
|
}
|
|
3788
3788
|
}
|
|
3789
3789
|
|
|
3790
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3790
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/mintCloseAuthority.js
|
|
3791
3791
|
var import_buffer_layout18 = __toESM(require_Layout(), 1);
|
|
3792
3792
|
var MintCloseAuthorityLayout = (0, import_buffer_layout18.struct)([publicKey("closeAuthority")]);
|
|
3793
3793
|
var MINT_CLOSE_AUTHORITY_SIZE = MintCloseAuthorityLayout.span;
|
|
@@ -3800,7 +3800,7 @@ function getMintCloseAuthority(mint) {
|
|
|
3800
3800
|
}
|
|
3801
3801
|
}
|
|
3802
3802
|
|
|
3803
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3803
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/nonTransferable.js
|
|
3804
3804
|
var import_buffer_layout19 = __toESM(require_Layout(), 1);
|
|
3805
3805
|
var NonTransferableLayout = (0, import_buffer_layout19.struct)([]);
|
|
3806
3806
|
var NON_TRANSFERABLE_SIZE = NonTransferableLayout.span;
|
|
@@ -3822,7 +3822,7 @@ function getNonTransferableAccount(account) {
|
|
|
3822
3822
|
}
|
|
3823
3823
|
}
|
|
3824
3824
|
|
|
3825
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3825
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/pausable/instructions.js
|
|
3826
3826
|
var import_buffer_layout20 = __toESM(require_Layout(), 1);
|
|
3827
3827
|
var PausableInstruction;
|
|
3828
3828
|
(function(PausableInstruction2) {
|
|
@@ -3875,7 +3875,7 @@ function createResumeInstruction(mint, authority, multiSigners = [], programId =
|
|
|
3875
3875
|
return new TransactionInstruction({ keys, programId, data });
|
|
3876
3876
|
}
|
|
3877
3877
|
|
|
3878
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3878
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/pausable/actions.js
|
|
3879
3879
|
async function pause(connection, payer, mint, owner, multiSigners = [], confirmOptions, programId = TOKEN_2022_PROGRAM_ID) {
|
|
3880
3880
|
const [ownerPublicKey, signers] = getSigners(owner, multiSigners);
|
|
3881
3881
|
const transaction = new Transaction().add(createPauseInstruction(mint, ownerPublicKey, multiSigners, programId));
|
|
@@ -3887,7 +3887,7 @@ async function resume(connection, payer, mint, owner, multiSigners = [], confirm
|
|
|
3887
3887
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
3888
3888
|
}
|
|
3889
3889
|
|
|
3890
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3890
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/pausable/state.js
|
|
3891
3891
|
var import_buffer_layout21 = __toESM(require_Layout(), 1);
|
|
3892
3892
|
var PausableConfigLayout = (0, import_buffer_layout21.struct)([publicKey("authority"), bool("paused")]);
|
|
3893
3893
|
var PAUSABLE_CONFIG_SIZE = PausableConfigLayout.span;
|
|
@@ -3910,7 +3910,7 @@ function getPausableAccount(account) {
|
|
|
3910
3910
|
}
|
|
3911
3911
|
}
|
|
3912
3912
|
|
|
3913
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3913
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/permanentDelegate.js
|
|
3914
3914
|
var import_buffer_layout22 = __toESM(require_Layout(), 1);
|
|
3915
3915
|
var PermanentDelegateLayout = (0, import_buffer_layout22.struct)([publicKey("delegate")]);
|
|
3916
3916
|
var PERMANENT_DELEGATE_SIZE = PermanentDelegateLayout.span;
|
|
@@ -3923,7 +3923,7 @@ function getPermanentDelegate(mint) {
|
|
|
3923
3923
|
}
|
|
3924
3924
|
}
|
|
3925
3925
|
|
|
3926
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3926
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/scaledUiAmount/instructions.js
|
|
3927
3927
|
var import_buffer_layout23 = __toESM(require_Layout(), 1);
|
|
3928
3928
|
var ScaledUiAmountInstruction;
|
|
3929
3929
|
(function(ScaledUiAmountInstruction2) {
|
|
@@ -3971,14 +3971,14 @@ function createUpdateMultiplierDataInstruction(mint, authority, multiplier, effe
|
|
|
3971
3971
|
return new TransactionInstruction({ keys, programId, data });
|
|
3972
3972
|
}
|
|
3973
3973
|
|
|
3974
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3974
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/scaledUiAmount/actions.js
|
|
3975
3975
|
async function updateMultiplier(connection, payer, mint, owner, multiplier, effectiveTimestamp, multiSigners = [], confirmOptions, programId = TOKEN_2022_PROGRAM_ID) {
|
|
3976
3976
|
const [ownerPublicKey, signers] = getSigners(owner, multiSigners);
|
|
3977
3977
|
const transaction = new Transaction().add(createUpdateMultiplierDataInstruction(mint, ownerPublicKey, multiplier, effectiveTimestamp, multiSigners, programId));
|
|
3978
3978
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
3979
3979
|
}
|
|
3980
3980
|
|
|
3981
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3981
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/scaledUiAmount/state.js
|
|
3982
3982
|
var import_buffer_layout24 = __toESM(require_Layout(), 1);
|
|
3983
3983
|
var ScaledUiAmountConfigLayout = (0, import_buffer_layout24.struct)([
|
|
3984
3984
|
publicKey("authority"),
|
|
@@ -3995,10 +3995,10 @@ function getScaledUiAmountConfig(mint) {
|
|
|
3995
3995
|
return null;
|
|
3996
3996
|
}
|
|
3997
3997
|
|
|
3998
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
3998
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/transferFee/instructions.js
|
|
3999
3999
|
var import_buffer_layout26 = __toESM(require_Layout(), 1);
|
|
4000
4000
|
|
|
4001
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
4001
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/serialization.js
|
|
4002
4002
|
var import_buffer_layout25 = __toESM(require_Layout(), 1);
|
|
4003
4003
|
var COptionPublicKeyLayout = class extends import_buffer_layout25.Layout {
|
|
4004
4004
|
constructor(property) {
|
|
@@ -4031,7 +4031,7 @@ var COptionPublicKeyLayout = class extends import_buffer_layout25.Layout {
|
|
|
4031
4031
|
}
|
|
4032
4032
|
};
|
|
4033
4033
|
|
|
4034
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
4034
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/transferFee/instructions.js
|
|
4035
4035
|
var TransferFeeInstruction;
|
|
4036
4036
|
(function(TransferFeeInstruction2) {
|
|
4037
4037
|
TransferFeeInstruction2[TransferFeeInstruction2["InitializeTransferFeeConfig"] = 0] = "InitializeTransferFeeConfig";
|
|
@@ -4410,7 +4410,7 @@ function decodeSetTransferFeeInstructionUnchecked({ programId, keys: [mint, auth
|
|
|
4410
4410
|
};
|
|
4411
4411
|
}
|
|
4412
4412
|
|
|
4413
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
4413
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/transferFee/actions.js
|
|
4414
4414
|
async function transferCheckedWithFee(connection, payer, source, mint, destination, owner, amount, decimals, fee, multiSigners = [], confirmOptions, programId = TOKEN_2022_PROGRAM_ID) {
|
|
4415
4415
|
const [ownerPublicKey, signers] = getSigners(owner, multiSigners);
|
|
4416
4416
|
const transaction = new Transaction().add(createTransferCheckedWithFeeInstruction(source, mint, destination, ownerPublicKey, amount, decimals, fee, multiSigners, programId));
|
|
@@ -4436,7 +4436,7 @@ async function setTransferFee(connection, payer, mint, authority, multiSigners,
|
|
|
4436
4436
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
4437
4437
|
}
|
|
4438
4438
|
|
|
4439
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
4439
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/transferFee/state.js
|
|
4440
4440
|
var import_buffer_layout27 = __toESM(require_Layout(), 1);
|
|
4441
4441
|
var MAX_FEE_BASIS_POINTS = 1e4;
|
|
4442
4442
|
var ONE_IN_BASIS_POINTS = BigInt(MAX_FEE_BASIS_POINTS);
|
|
@@ -4492,10 +4492,10 @@ function getTransferFeeAmount(account) {
|
|
|
4492
4492
|
}
|
|
4493
4493
|
}
|
|
4494
4494
|
|
|
4495
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
4495
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/transferHook/instructions.js
|
|
4496
4496
|
var import_buffer_layout30 = __toESM(require_Layout(), 1);
|
|
4497
4497
|
|
|
4498
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
4498
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/transferChecked.js
|
|
4499
4499
|
var import_buffer_layout28 = __toESM(require_Layout(), 1);
|
|
4500
4500
|
var transferCheckedInstructionData = (0, import_buffer_layout28.struct)([
|
|
4501
4501
|
(0, import_buffer_layout28.u8)("instruction"),
|
|
@@ -4552,10 +4552,10 @@ function decodeTransferCheckedInstructionUnchecked({ programId, keys: [source, m
|
|
|
4552
4552
|
};
|
|
4553
4553
|
}
|
|
4554
4554
|
|
|
4555
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
4555
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/transferHook/state.js
|
|
4556
4556
|
var import_buffer_layout29 = __toESM(require_Layout(), 1);
|
|
4557
4557
|
|
|
4558
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
4558
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/transferHook/seeds.js
|
|
4559
4559
|
var DISCRIMINATOR_SPAN = 1;
|
|
4560
4560
|
var LITERAL_LENGTH_SPAN = 1;
|
|
4561
4561
|
var INSTRUCTION_ARG_OFFSET_SPAN = 1;
|
|
@@ -4655,7 +4655,7 @@ async function unpackSeeds(seeds, previousMetas, instructionData, connection) {
|
|
|
4655
4655
|
return unpackedSeeds;
|
|
4656
4656
|
}
|
|
4657
4657
|
|
|
4658
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
4658
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/transferHook/pubkeyData.js
|
|
4659
4659
|
async function unpackPubkeyData(keyDataConfig, previousMetas, instructionData, connection) {
|
|
4660
4660
|
const [discriminator, ...rest] = keyDataConfig;
|
|
4661
4661
|
const remaining = new Uint8Array(rest);
|
|
@@ -4696,7 +4696,7 @@ async function unpackPubkeyDataFromAccountData(remaining, previousMetas, connect
|
|
|
4696
4696
|
return new PublicKey(accountInfo.data.subarray(dataIndex, dataIndex + PUBLIC_KEY_LENGTH));
|
|
4697
4697
|
}
|
|
4698
4698
|
|
|
4699
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
4699
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/transferHook/state.js
|
|
4700
4700
|
var TransferHookLayout = (0, import_buffer_layout29.struct)([publicKey("authority"), publicKey("programId")]);
|
|
4701
4701
|
var TRANSFER_HOOK_SIZE = TransferHookLayout.span;
|
|
4702
4702
|
function getTransferHook(mint) {
|
|
@@ -4770,7 +4770,7 @@ async function resolveExtraAccountMeta(connection, extraMeta, previousMetas, ins
|
|
|
4770
4770
|
return { pubkey, isSigner: extraMeta.isSigner, isWritable: extraMeta.isWritable };
|
|
4771
4771
|
}
|
|
4772
4772
|
|
|
4773
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
4773
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/transferHook/instructions.js
|
|
4774
4774
|
var TransferHookInstruction;
|
|
4775
4775
|
(function(TransferHookInstruction2) {
|
|
4776
4776
|
TransferHookInstruction2[TransferHookInstruction2["Initialize"] = 0] = "Initialize";
|
|
@@ -4879,7 +4879,7 @@ async function createTransferCheckedWithFeeAndTransferHookInstruction(connection
|
|
|
4879
4879
|
return instruction;
|
|
4880
4880
|
}
|
|
4881
4881
|
|
|
4882
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
4882
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/transferHook/actions.js
|
|
4883
4883
|
async function initializeTransferHook(connection, payer, mint, authority, transferHookProgramId, confirmOptions, programId = TOKEN_2022_PROGRAM_ID) {
|
|
4884
4884
|
const transaction = new Transaction().add(createInitializeTransferHookInstruction(mint, authority, transferHookProgramId, programId));
|
|
4885
4885
|
return await sendAndConfirmTransaction(connection, transaction, [payer], confirmOptions);
|
|
@@ -4900,7 +4900,7 @@ async function transferCheckedWithFeeAndTransferHook(connection, payer, source,
|
|
|
4900
4900
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
4901
4901
|
}
|
|
4902
4902
|
|
|
4903
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
4903
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/extensionType.js
|
|
4904
4904
|
var ExtensionType;
|
|
4905
4905
|
(function(ExtensionType2) {
|
|
4906
4906
|
ExtensionType2[ExtensionType2["Uninitialized"] = 0] = "Uninitialized";
|
|
@@ -5159,7 +5159,7 @@ function getNewAccountLenForExtensionLen(info, address, extensionType, extension
|
|
|
5159
5159
|
return info.data.length + newExtensionLen - currentExtensionLen;
|
|
5160
5160
|
}
|
|
5161
5161
|
|
|
5162
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5162
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/state/mint.js
|
|
5163
5163
|
var MintLayout = (0, import_buffer_layout31.struct)([
|
|
5164
5164
|
(0, import_buffer_layout31.u32)("mintAuthorityOption"),
|
|
5165
5165
|
publicKey("mintAuthority"),
|
|
@@ -5222,7 +5222,7 @@ function getAssociatedTokenAddressSync(mint, owner, allowOwnerOffCurve = false,
|
|
|
5222
5222
|
return address;
|
|
5223
5223
|
}
|
|
5224
5224
|
|
|
5225
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5225
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/amountToUiAmount.js
|
|
5226
5226
|
var ONE_IN_BASIS_POINTS2 = 1e4;
|
|
5227
5227
|
var SECONDS_PER_YEAR = 60 * 60 * 24 * 365.24;
|
|
5228
5228
|
var SYSVAR_CLOCK_PUBKEY = new PublicKey("SysvarC1ock11111111111111111111111111111111");
|
|
@@ -5330,7 +5330,7 @@ async function uiAmountToAmountForMintWithoutSimulation(connection, mint, uiAmou
|
|
|
5330
5330
|
return uiAmountToAmountForScaledUiAmountMintWithoutSimulation(uiAmount, mintInfo.decimals, multiplier);
|
|
5331
5331
|
}
|
|
5332
5332
|
|
|
5333
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5333
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/approve.js
|
|
5334
5334
|
var import_buffer_layout32 = __toESM(require_Layout(), 1);
|
|
5335
5335
|
var approveInstructionData = (0, import_buffer_layout32.struct)([(0, import_buffer_layout32.u8)("instruction"), u64("amount")]);
|
|
5336
5336
|
function createApproveInstruction(account, delegate, owner, amount, multiSigners = [], programId = TOKEN_PROGRAM_ID) {
|
|
@@ -5379,14 +5379,14 @@ function decodeApproveInstructionUnchecked({ programId, keys: [account, delegate
|
|
|
5379
5379
|
};
|
|
5380
5380
|
}
|
|
5381
5381
|
|
|
5382
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5382
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/approve.js
|
|
5383
5383
|
async function approve(connection, payer, account, delegate, owner, amount, multiSigners = [], confirmOptions, programId = TOKEN_PROGRAM_ID) {
|
|
5384
5384
|
const [ownerPublicKey, signers] = getSigners(owner, multiSigners);
|
|
5385
5385
|
const transaction = new Transaction().add(createApproveInstruction(account, delegate, ownerPublicKey, amount, multiSigners, programId));
|
|
5386
5386
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
5387
5387
|
}
|
|
5388
5388
|
|
|
5389
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5389
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/approveChecked.js
|
|
5390
5390
|
var import_buffer_layout33 = __toESM(require_Layout(), 1);
|
|
5391
5391
|
var approveCheckedInstructionData = (0, import_buffer_layout33.struct)([
|
|
5392
5392
|
(0, import_buffer_layout33.u8)("instruction"),
|
|
@@ -5443,14 +5443,14 @@ function decodeApproveCheckedInstructionUnchecked({ programId, keys: [account, m
|
|
|
5443
5443
|
};
|
|
5444
5444
|
}
|
|
5445
5445
|
|
|
5446
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5446
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/approveChecked.js
|
|
5447
5447
|
async function approveChecked(connection, payer, mint, account, delegate, owner, amount, decimals, multiSigners = [], confirmOptions, programId = TOKEN_PROGRAM_ID) {
|
|
5448
5448
|
const [ownerPublicKey, signers] = getSigners(owner, multiSigners);
|
|
5449
5449
|
const transaction = new Transaction().add(createApproveCheckedInstruction(account, mint, delegate, ownerPublicKey, amount, decimals, multiSigners, programId));
|
|
5450
5450
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
5451
5451
|
}
|
|
5452
5452
|
|
|
5453
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5453
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/burn.js
|
|
5454
5454
|
var import_buffer_layout34 = __toESM(require_Layout(), 1);
|
|
5455
5455
|
var burnInstructionData = (0, import_buffer_layout34.struct)([(0, import_buffer_layout34.u8)("instruction"), u64("amount")]);
|
|
5456
5456
|
function createBurnInstruction(account, mint, owner, amount, multiSigners = [], programId = TOKEN_PROGRAM_ID) {
|
|
@@ -5499,14 +5499,14 @@ function decodeBurnInstructionUnchecked({ programId, keys: [account, mint, owner
|
|
|
5499
5499
|
};
|
|
5500
5500
|
}
|
|
5501
5501
|
|
|
5502
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5502
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/burn.js
|
|
5503
5503
|
async function burn(connection, payer, account, mint, owner, amount, multiSigners = [], confirmOptions, programId = TOKEN_PROGRAM_ID) {
|
|
5504
5504
|
const [ownerPublicKey, signers] = getSigners(owner, multiSigners);
|
|
5505
5505
|
const transaction = new Transaction().add(createBurnInstruction(account, mint, ownerPublicKey, amount, multiSigners, programId));
|
|
5506
5506
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
5507
5507
|
}
|
|
5508
5508
|
|
|
5509
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5509
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/burnChecked.js
|
|
5510
5510
|
var import_buffer_layout35 = __toESM(require_Layout(), 1);
|
|
5511
5511
|
var burnCheckedInstructionData = (0, import_buffer_layout35.struct)([
|
|
5512
5512
|
(0, import_buffer_layout35.u8)("instruction"),
|
|
@@ -5560,14 +5560,14 @@ function decodeBurnCheckedInstructionUnchecked({ programId, keys: [account, mint
|
|
|
5560
5560
|
};
|
|
5561
5561
|
}
|
|
5562
5562
|
|
|
5563
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5563
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/burnChecked.js
|
|
5564
5564
|
async function burnChecked(connection, payer, account, mint, owner, amount, decimals, multiSigners = [], confirmOptions, programId = TOKEN_PROGRAM_ID) {
|
|
5565
5565
|
const [ownerPublicKey, signers] = getSigners(owner, multiSigners);
|
|
5566
5566
|
const transaction = new Transaction().add(createBurnCheckedInstruction(account, mint, ownerPublicKey, amount, decimals, multiSigners, programId));
|
|
5567
5567
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
5568
5568
|
}
|
|
5569
5569
|
|
|
5570
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5570
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/closeAccount.js
|
|
5571
5571
|
var import_buffer_layout36 = __toESM(require_Layout(), 1);
|
|
5572
5572
|
var closeAccountInstructionData = (0, import_buffer_layout36.struct)([(0, import_buffer_layout36.u8)("instruction")]);
|
|
5573
5573
|
function createCloseAccountInstruction(account, destination, authority, multiSigners = [], programId = TOKEN_PROGRAM_ID) {
|
|
@@ -5613,14 +5613,14 @@ function decodeCloseAccountInstructionUnchecked({ programId, keys: [account, des
|
|
|
5613
5613
|
};
|
|
5614
5614
|
}
|
|
5615
5615
|
|
|
5616
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5616
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/closeAccount.js
|
|
5617
5617
|
async function closeAccount(connection, payer, account, destination, authority, multiSigners = [], confirmOptions, programId = TOKEN_PROGRAM_ID) {
|
|
5618
5618
|
const [authorityPublicKey, signers] = getSigners(authority, multiSigners);
|
|
5619
5619
|
const transaction = new Transaction().add(createCloseAccountInstruction(account, destination, authorityPublicKey, multiSigners, programId));
|
|
5620
5620
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
5621
5621
|
}
|
|
5622
5622
|
|
|
5623
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5623
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/initializeAccount.js
|
|
5624
5624
|
var import_buffer_layout37 = __toESM(require_Layout(), 1);
|
|
5625
5625
|
var initializeAccountInstructionData = (0, import_buffer_layout37.struct)([(0, import_buffer_layout37.u8)("instruction")]);
|
|
5626
5626
|
function createInitializeAccountInstruction(account, mint, owner, programId = TOKEN_PROGRAM_ID) {
|
|
@@ -5668,7 +5668,7 @@ function decodeInitializeAccountInstructionUnchecked({ programId, keys: [account
|
|
|
5668
5668
|
};
|
|
5669
5669
|
}
|
|
5670
5670
|
|
|
5671
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5671
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/associatedTokenAccount.js
|
|
5672
5672
|
function createAssociatedTokenAccountInstruction(payer, associatedToken, owner, mint, programId = TOKEN_PROGRAM_ID, associatedTokenProgramId = ASSOCIATED_TOKEN_PROGRAM_ID) {
|
|
5673
5673
|
return buildAssociatedTokenAccountInstruction(payer, associatedToken, owner, mint, Buffer.alloc(0), programId, associatedTokenProgramId);
|
|
5674
5674
|
}
|
|
@@ -5711,7 +5711,7 @@ function createRecoverNestedInstruction(nestedAssociatedToken, nestedMint, desti
|
|
|
5711
5711
|
});
|
|
5712
5712
|
}
|
|
5713
5713
|
|
|
5714
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5714
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/createAssociatedTokenAccount.js
|
|
5715
5715
|
async function createAssociatedTokenAccount(connection, payer, mint, owner, confirmOptions, programId = TOKEN_PROGRAM_ID, associatedTokenProgramId = ASSOCIATED_TOKEN_PROGRAM_ID, allowOwnerOffCurve = false) {
|
|
5716
5716
|
const associatedToken = getAssociatedTokenAddressSync(mint, owner, allowOwnerOffCurve, programId, associatedTokenProgramId);
|
|
5717
5717
|
const transaction = new Transaction().add(createAssociatedTokenAccountInstruction(payer.publicKey, associatedToken, owner, mint, programId, associatedTokenProgramId));
|
|
@@ -5719,7 +5719,7 @@ async function createAssociatedTokenAccount(connection, payer, mint, owner, conf
|
|
|
5719
5719
|
return associatedToken;
|
|
5720
5720
|
}
|
|
5721
5721
|
|
|
5722
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5722
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/createAccount.js
|
|
5723
5723
|
async function createAccount(connection, payer, mint, owner, keypair, confirmOptions, programId = TOKEN_PROGRAM_ID) {
|
|
5724
5724
|
if (!keypair)
|
|
5725
5725
|
return await createAssociatedTokenAccount(connection, payer, mint, owner, confirmOptions, programId);
|
|
@@ -5737,7 +5737,7 @@ async function createAccount(connection, payer, mint, owner, keypair, confirmOpt
|
|
|
5737
5737
|
return keypair.publicKey;
|
|
5738
5738
|
}
|
|
5739
5739
|
|
|
5740
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5740
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/createAssociatedTokenAccountIdempotent.js
|
|
5741
5741
|
async function createAssociatedTokenAccountIdempotent(connection, payer, mint, owner, confirmOptions, programId = TOKEN_PROGRAM_ID, associatedTokenProgramId = ASSOCIATED_TOKEN_PROGRAM_ID, allowOwnerOffCurve = false) {
|
|
5742
5742
|
const associatedToken = getAssociatedTokenAddressSync(mint, owner, allowOwnerOffCurve, programId, associatedTokenProgramId);
|
|
5743
5743
|
const transaction = new Transaction().add(createAssociatedTokenAccountIdempotentInstruction(payer.publicKey, associatedToken, owner, mint, programId, associatedTokenProgramId));
|
|
@@ -5745,7 +5745,7 @@ async function createAssociatedTokenAccountIdempotent(connection, payer, mint, o
|
|
|
5745
5745
|
return associatedToken;
|
|
5746
5746
|
}
|
|
5747
5747
|
|
|
5748
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5748
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/initializeMint2.js
|
|
5749
5749
|
var import_buffer_layout38 = __toESM(require_Layout(), 1);
|
|
5750
5750
|
var initializeMint2InstructionData = (0, import_buffer_layout38.struct)([
|
|
5751
5751
|
(0, import_buffer_layout38.u8)("instruction"),
|
|
@@ -5802,7 +5802,7 @@ function decodeInitializeMint2InstructionUnchecked({ programId, keys: [mint], da
|
|
|
5802
5802
|
};
|
|
5803
5803
|
}
|
|
5804
5804
|
|
|
5805
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5805
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/createMint.js
|
|
5806
5806
|
async function createMint(connection, payer, mintAuthority, freezeAuthority, decimals, keypair = Keypair.generate(), confirmOptions, programId = TOKEN_PROGRAM_ID) {
|
|
5807
5807
|
const lamports = await getMinimumBalanceForRentExemptMint(connection);
|
|
5808
5808
|
const transaction = new Transaction().add(SystemProgram.createAccount({
|
|
@@ -5816,7 +5816,7 @@ async function createMint(connection, payer, mintAuthority, freezeAuthority, dec
|
|
|
5816
5816
|
return keypair.publicKey;
|
|
5817
5817
|
}
|
|
5818
5818
|
|
|
5819
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5819
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/initializeMultisig.js
|
|
5820
5820
|
var import_buffer_layout39 = __toESM(require_Layout(), 1);
|
|
5821
5821
|
var initializeMultisigInstructionData = (0, import_buffer_layout39.struct)([
|
|
5822
5822
|
(0, import_buffer_layout39.u8)("instruction"),
|
|
@@ -5873,7 +5873,7 @@ function decodeInitializeMultisigInstructionUnchecked({ programId, keys: [accoun
|
|
|
5873
5873
|
};
|
|
5874
5874
|
}
|
|
5875
5875
|
|
|
5876
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5876
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/createMultisig.js
|
|
5877
5877
|
async function createMultisig(connection, payer, signers, m, keypair = Keypair.generate(), confirmOptions, programId = TOKEN_PROGRAM_ID) {
|
|
5878
5878
|
const lamports = await getMinimumBalanceForRentExemptMultisig(connection);
|
|
5879
5879
|
const transaction = new Transaction().add(SystemProgram.createAccount({
|
|
@@ -5887,7 +5887,7 @@ async function createMultisig(connection, payer, signers, m, keypair = Keypair.g
|
|
|
5887
5887
|
return keypair.publicKey;
|
|
5888
5888
|
}
|
|
5889
5889
|
|
|
5890
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5890
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/createNativeMint.js
|
|
5891
5891
|
var import_buffer_layout40 = __toESM(require_Layout(), 1);
|
|
5892
5892
|
var createNativeMintInstructionData = (0, import_buffer_layout40.struct)([(0, import_buffer_layout40.u8)("instruction")]);
|
|
5893
5893
|
function createCreateNativeMintInstruction(payer, nativeMintId = NATIVE_MINT_2022, programId = TOKEN_2022_PROGRAM_ID) {
|
|
@@ -5904,13 +5904,13 @@ function createCreateNativeMintInstruction(payer, nativeMintId = NATIVE_MINT_202
|
|
|
5904
5904
|
return new TransactionInstruction({ keys, programId, data });
|
|
5905
5905
|
}
|
|
5906
5906
|
|
|
5907
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5907
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/createNativeMint.js
|
|
5908
5908
|
async function createNativeMint(connection, payer, confirmOptions, nativeMint = NATIVE_MINT_2022, programId = TOKEN_2022_PROGRAM_ID) {
|
|
5909
5909
|
const transaction = new Transaction().add(createCreateNativeMintInstruction(payer.publicKey, nativeMint, programId));
|
|
5910
5910
|
await sendAndConfirmTransaction(connection, transaction, [payer], confirmOptions);
|
|
5911
5911
|
}
|
|
5912
5912
|
|
|
5913
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5913
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/syncNative.js
|
|
5914
5914
|
var import_buffer_layout41 = __toESM(require_Layout(), 1);
|
|
5915
5915
|
var syncNativeInstructionData = (0, import_buffer_layout41.struct)([(0, import_buffer_layout41.u8)("instruction")]);
|
|
5916
5916
|
function createSyncNativeInstruction(account, programId = TOKEN_PROGRAM_ID) {
|
|
@@ -5947,7 +5947,7 @@ function decodeSyncNativeInstructionUnchecked({ programId, keys: [account], data
|
|
|
5947
5947
|
};
|
|
5948
5948
|
}
|
|
5949
5949
|
|
|
5950
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5950
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/createWrappedNativeAccount.js
|
|
5951
5951
|
async function createWrappedNativeAccount(connection, payer, owner, amount, keypair, confirmOptions, programId = TOKEN_PROGRAM_ID, nativeMint = NATIVE_MINT) {
|
|
5952
5952
|
if (!amount)
|
|
5953
5953
|
return await createAccount(connection, payer, nativeMint, owner, keypair, confirmOptions, programId);
|
|
@@ -5977,7 +5977,7 @@ async function createWrappedNativeAccount(connection, payer, owner, amount, keyp
|
|
|
5977
5977
|
return keypair.publicKey;
|
|
5978
5978
|
}
|
|
5979
5979
|
|
|
5980
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
5980
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/freezeAccount.js
|
|
5981
5981
|
var import_buffer_layout42 = __toESM(require_Layout(), 1);
|
|
5982
5982
|
var freezeAccountInstructionData = (0, import_buffer_layout42.struct)([(0, import_buffer_layout42.u8)("instruction")]);
|
|
5983
5983
|
function createFreezeAccountInstruction(account, mint, authority, multiSigners = [], programId = TOKEN_PROGRAM_ID) {
|
|
@@ -6023,14 +6023,14 @@ function decodeFreezeAccountInstructionUnchecked({ programId, keys: [account, mi
|
|
|
6023
6023
|
};
|
|
6024
6024
|
}
|
|
6025
6025
|
|
|
6026
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6026
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/freezeAccount.js
|
|
6027
6027
|
async function freezeAccount(connection, payer, account, mint, authority, multiSigners = [], confirmOptions, programId = TOKEN_PROGRAM_ID) {
|
|
6028
6028
|
const [authorityPublicKey, signers] = getSigners(authority, multiSigners);
|
|
6029
6029
|
const transaction = new Transaction().add(createFreezeAccountInstruction(account, mint, authorityPublicKey, multiSigners, programId));
|
|
6030
6030
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
6031
6031
|
}
|
|
6032
6032
|
|
|
6033
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6033
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/getOrCreateAssociatedTokenAccount.js
|
|
6034
6034
|
async function getOrCreateAssociatedTokenAccount(connection, payer, mint, owner, allowOwnerOffCurve = false, commitment, confirmOptions, programId = TOKEN_PROGRAM_ID, associatedTokenProgramId = ASSOCIATED_TOKEN_PROGRAM_ID) {
|
|
6035
6035
|
const associatedToken = getAssociatedTokenAddressSync(mint, owner, allowOwnerOffCurve, programId, associatedTokenProgramId);
|
|
6036
6036
|
let account;
|
|
@@ -6055,7 +6055,7 @@ async function getOrCreateAssociatedTokenAccount(connection, payer, mint, owner,
|
|
|
6055
6055
|
return account;
|
|
6056
6056
|
}
|
|
6057
6057
|
|
|
6058
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6058
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/mintTo.js
|
|
6059
6059
|
var import_buffer_layout43 = __toESM(require_Layout(), 1);
|
|
6060
6060
|
var mintToInstructionData = (0, import_buffer_layout43.struct)([(0, import_buffer_layout43.u8)("instruction"), u64("amount")]);
|
|
6061
6061
|
function createMintToInstruction(mint, destination, authority, amount, multiSigners = [], programId = TOKEN_PROGRAM_ID) {
|
|
@@ -6104,14 +6104,14 @@ function decodeMintToInstructionUnchecked({ programId, keys: [mint, destination,
|
|
|
6104
6104
|
};
|
|
6105
6105
|
}
|
|
6106
6106
|
|
|
6107
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6107
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/mintTo.js
|
|
6108
6108
|
async function mintTo(connection, payer, mint, destination, authority, amount, multiSigners = [], confirmOptions, programId = TOKEN_PROGRAM_ID) {
|
|
6109
6109
|
const [authorityPublicKey, signers] = getSigners(authority, multiSigners);
|
|
6110
6110
|
const transaction = new Transaction().add(createMintToInstruction(mint, destination, authorityPublicKey, amount, multiSigners, programId));
|
|
6111
6111
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
6112
6112
|
}
|
|
6113
6113
|
|
|
6114
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6114
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/mintToChecked.js
|
|
6115
6115
|
var import_buffer_layout44 = __toESM(require_Layout(), 1);
|
|
6116
6116
|
var mintToCheckedInstructionData = (0, import_buffer_layout44.struct)([
|
|
6117
6117
|
(0, import_buffer_layout44.u8)("instruction"),
|
|
@@ -6165,14 +6165,14 @@ function decodeMintToCheckedInstructionUnchecked({ programId, keys: [mint, desti
|
|
|
6165
6165
|
};
|
|
6166
6166
|
}
|
|
6167
6167
|
|
|
6168
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6168
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/mintToChecked.js
|
|
6169
6169
|
async function mintToChecked(connection, payer, mint, destination, authority, amount, decimals, multiSigners = [], confirmOptions, programId = TOKEN_PROGRAM_ID) {
|
|
6170
6170
|
const [authorityPublicKey, signers] = getSigners(authority, multiSigners);
|
|
6171
6171
|
const transaction = new Transaction().add(createMintToCheckedInstruction(mint, destination, authorityPublicKey, amount, decimals, multiSigners, programId));
|
|
6172
6172
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
6173
6173
|
}
|
|
6174
6174
|
|
|
6175
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6175
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/recoverNested.js
|
|
6176
6176
|
async function recoverNested(connection, payer, owner, mint, nestedMint, confirmOptions, programId = TOKEN_PROGRAM_ID, associatedTokenProgramId = ASSOCIATED_TOKEN_PROGRAM_ID) {
|
|
6177
6177
|
const ownerAssociatedToken = getAssociatedTokenAddressSync(mint, owner.publicKey, false, programId, associatedTokenProgramId);
|
|
6178
6178
|
const destinationAssociatedToken = getAssociatedTokenAddressSync(nestedMint, owner.publicKey, false, programId, associatedTokenProgramId);
|
|
@@ -6181,7 +6181,7 @@ async function recoverNested(connection, payer, owner, mint, nestedMint, confirm
|
|
|
6181
6181
|
return await sendAndConfirmTransaction(connection, transaction, [payer, owner], confirmOptions);
|
|
6182
6182
|
}
|
|
6183
6183
|
|
|
6184
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6184
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/revoke.js
|
|
6185
6185
|
var import_buffer_layout45 = __toESM(require_Layout(), 1);
|
|
6186
6186
|
var revokeInstructionData = (0, import_buffer_layout45.struct)([(0, import_buffer_layout45.u8)("instruction")]);
|
|
6187
6187
|
function createRevokeInstruction(account, owner, multiSigners = [], programId = TOKEN_PROGRAM_ID) {
|
|
@@ -6222,14 +6222,14 @@ function decodeRevokeInstructionUnchecked({ programId, keys: [account, owner, ..
|
|
|
6222
6222
|
};
|
|
6223
6223
|
}
|
|
6224
6224
|
|
|
6225
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6225
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/revoke.js
|
|
6226
6226
|
async function revoke(connection, payer, account, owner, multiSigners = [], confirmOptions, programId = TOKEN_PROGRAM_ID) {
|
|
6227
6227
|
const [ownerPublicKey, signers] = getSigners(owner, multiSigners);
|
|
6228
6228
|
const transaction = new Transaction().add(createRevokeInstruction(account, ownerPublicKey, multiSigners, programId));
|
|
6229
6229
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
6230
6230
|
}
|
|
6231
6231
|
|
|
6232
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6232
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/setAuthority.js
|
|
6233
6233
|
var import_buffer_layout46 = __toESM(require_Layout(), 1);
|
|
6234
6234
|
var AuthorityType;
|
|
6235
6235
|
(function(AuthorityType2) {
|
|
@@ -6307,20 +6307,20 @@ function decodeSetAuthorityInstructionUnchecked({ programId, keys: [account, cur
|
|
|
6307
6307
|
};
|
|
6308
6308
|
}
|
|
6309
6309
|
|
|
6310
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6310
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/setAuthority.js
|
|
6311
6311
|
async function setAuthority(connection, payer, account, currentAuthority, authorityType, newAuthority, multiSigners = [], confirmOptions, programId = TOKEN_PROGRAM_ID) {
|
|
6312
6312
|
const [currentAuthorityPublicKey, signers] = getSigners(currentAuthority, multiSigners);
|
|
6313
6313
|
const transaction = new Transaction().add(createSetAuthorityInstruction(account, currentAuthorityPublicKey, authorityType, newAuthority, multiSigners, programId));
|
|
6314
6314
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
6315
6315
|
}
|
|
6316
6316
|
|
|
6317
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6317
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/syncNative.js
|
|
6318
6318
|
async function syncNative(connection, payer, account, confirmOptions, programId = TOKEN_PROGRAM_ID) {
|
|
6319
6319
|
const transaction = new Transaction().add(createSyncNativeInstruction(account, programId));
|
|
6320
6320
|
return await sendAndConfirmTransaction(connection, transaction, [payer], confirmOptions);
|
|
6321
6321
|
}
|
|
6322
6322
|
|
|
6323
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6323
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/thawAccount.js
|
|
6324
6324
|
var import_buffer_layout47 = __toESM(require_Layout(), 1);
|
|
6325
6325
|
var thawAccountInstructionData = (0, import_buffer_layout47.struct)([(0, import_buffer_layout47.u8)("instruction")]);
|
|
6326
6326
|
function createThawAccountInstruction(account, mint, authority, multiSigners = [], programId = TOKEN_PROGRAM_ID) {
|
|
@@ -6366,14 +6366,14 @@ function decodeThawAccountInstructionUnchecked({ programId, keys: [account, mint
|
|
|
6366
6366
|
};
|
|
6367
6367
|
}
|
|
6368
6368
|
|
|
6369
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6369
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/thawAccount.js
|
|
6370
6370
|
async function thawAccount(connection, payer, account, mint, authority, multiSigners = [], confirmOptions, programId = TOKEN_PROGRAM_ID) {
|
|
6371
6371
|
const [authorityPublicKey, signers] = getSigners(authority, multiSigners);
|
|
6372
6372
|
const transaction = new Transaction().add(createThawAccountInstruction(account, mint, authorityPublicKey, multiSigners, programId));
|
|
6373
6373
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
6374
6374
|
}
|
|
6375
6375
|
|
|
6376
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6376
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/transfer.js
|
|
6377
6377
|
var import_buffer_layout48 = __toESM(require_Layout(), 1);
|
|
6378
6378
|
var transferInstructionData = (0, import_buffer_layout48.struct)([(0, import_buffer_layout48.u8)("instruction"), u64("amount")]);
|
|
6379
6379
|
function createTransferInstruction(source, destination, owner, amount, multiSigners = [], programId = TOKEN_PROGRAM_ID) {
|
|
@@ -6422,21 +6422,21 @@ function decodeTransferInstructionUnchecked({ programId, keys: [source, destinat
|
|
|
6422
6422
|
};
|
|
6423
6423
|
}
|
|
6424
6424
|
|
|
6425
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6425
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/transfer.js
|
|
6426
6426
|
async function transfer(connection, payer, source, destination, owner, amount, multiSigners = [], confirmOptions, programId = TOKEN_PROGRAM_ID) {
|
|
6427
6427
|
const [ownerPublicKey, signers] = getSigners(owner, multiSigners);
|
|
6428
6428
|
const transaction = new Transaction().add(createTransferInstruction(source, destination, ownerPublicKey, amount, multiSigners, programId));
|
|
6429
6429
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
6430
6430
|
}
|
|
6431
6431
|
|
|
6432
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6432
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/transferChecked.js
|
|
6433
6433
|
async function transferChecked(connection, payer, source, mint, destination, owner, amount, decimals, multiSigners = [], confirmOptions, programId = TOKEN_PROGRAM_ID) {
|
|
6434
6434
|
const [ownerPublicKey, signers] = getSigners(owner, multiSigners);
|
|
6435
6435
|
const transaction = new Transaction().add(createTransferCheckedInstruction(source, mint, destination, ownerPublicKey, amount, decimals, multiSigners, programId));
|
|
6436
6436
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
6437
6437
|
}
|
|
6438
6438
|
|
|
6439
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6439
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/uiAmountToAmount.js
|
|
6440
6440
|
var import_buffer_layout49 = __toESM(require_Layout(), 1);
|
|
6441
6441
|
function createUiAmountToAmountInstruction(mint, amount, programId = TOKEN_PROGRAM_ID) {
|
|
6442
6442
|
const keys = [{ pubkey: mint, isSigner: false, isWritable: false }];
|
|
@@ -6488,7 +6488,7 @@ function decodeUiAmountToAmountInstructionUnchecked({ programId, keys: [mint], d
|
|
|
6488
6488
|
};
|
|
6489
6489
|
}
|
|
6490
6490
|
|
|
6491
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6491
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/actions/uiAmountToAmount.js
|
|
6492
6492
|
async function uiAmountToAmount(connection, payer, mint, amount, programId = TOKEN_PROGRAM_ID) {
|
|
6493
6493
|
const transaction = new Transaction().add(createUiAmountToAmountInstruction(mint, amount, programId));
|
|
6494
6494
|
const { returnData, err } = (await connection.simulateTransaction(transaction, [payer], false)).value;
|
|
@@ -6499,7 +6499,7 @@ async function uiAmountToAmount(connection, payer, mint, amount, programId = TOK
|
|
|
6499
6499
|
return err;
|
|
6500
6500
|
}
|
|
6501
6501
|
|
|
6502
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6502
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/groupMemberPointer/instructions.js
|
|
6503
6503
|
var import_buffer_layout50 = __toESM(require_Layout(), 1);
|
|
6504
6504
|
var GroupMemberPointerInstruction;
|
|
6505
6505
|
(function(GroupMemberPointerInstruction2) {
|
|
@@ -6547,7 +6547,7 @@ function createUpdateGroupMemberPointerInstruction(mint, authority, memberAddres
|
|
|
6547
6547
|
return new TransactionInstruction({ keys, programId, data });
|
|
6548
6548
|
}
|
|
6549
6549
|
|
|
6550
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6550
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/groupPointer/instructions.js
|
|
6551
6551
|
var import_buffer_layout51 = __toESM(require_Layout(), 1);
|
|
6552
6552
|
var GroupPointerInstruction;
|
|
6553
6553
|
(function(GroupPointerInstruction2) {
|
|
@@ -6595,7 +6595,7 @@ function createUpdateGroupPointerInstruction(mint, authority, groupAddress, mult
|
|
|
6595
6595
|
return new TransactionInstruction({ keys, programId, data });
|
|
6596
6596
|
}
|
|
6597
6597
|
|
|
6598
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6598
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/initializeMint.js
|
|
6599
6599
|
var import_buffer_layout52 = __toESM(require_Layout(), 1);
|
|
6600
6600
|
var initializeMintInstructionData = (0, import_buffer_layout52.struct)([
|
|
6601
6601
|
(0, import_buffer_layout52.u8)("instruction"),
|
|
@@ -6657,7 +6657,7 @@ function decodeInitializeMintInstructionUnchecked({ programId, keys: [mint, rent
|
|
|
6657
6657
|
};
|
|
6658
6658
|
}
|
|
6659
6659
|
|
|
6660
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6660
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/interestBearingMint/instructions.js
|
|
6661
6661
|
var import_buffer_layout53 = __toESM(require_Layout(), 1);
|
|
6662
6662
|
var InterestBearingMintInstruction;
|
|
6663
6663
|
(function(InterestBearingMintInstruction2) {
|
|
@@ -6701,7 +6701,7 @@ function createUpdateRateInterestBearingMintInstruction(mint, rateAuthority, rat
|
|
|
6701
6701
|
return new TransactionInstruction({ keys, programId, data });
|
|
6702
6702
|
}
|
|
6703
6703
|
|
|
6704
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6704
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/interestBearingMint/actions.js
|
|
6705
6705
|
async function createInterestBearingMint(connection, payer, mintAuthority, freezeAuthority, rateAuthority, rate, decimals, keypair = Keypair.generate(), confirmOptions, programId = TOKEN_2022_PROGRAM_ID) {
|
|
6706
6706
|
const mintLen = getMintLen([ExtensionType.InterestBearingConfig]);
|
|
6707
6707
|
const lamports = await connection.getMinimumBalanceForRentExemption(mintLen);
|
|
@@ -6721,7 +6721,7 @@ async function updateRateInterestBearingMint(connection, payer, mint, rateAuthor
|
|
|
6721
6721
|
return await sendAndConfirmTransaction(connection, transaction, [payer, rateAuthority, ...signers], confirmOptions);
|
|
6722
6722
|
}
|
|
6723
6723
|
|
|
6724
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6724
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/metadataPointer/instructions.js
|
|
6725
6725
|
var import_buffer_layout54 = __toESM(require_Layout(), 1);
|
|
6726
6726
|
var MetadataPointerInstruction;
|
|
6727
6727
|
(function(MetadataPointerInstruction2) {
|
|
@@ -6769,7 +6769,7 @@ function createUpdateMetadataPointerInstruction(mint, authority, metadataAddress
|
|
|
6769
6769
|
return new TransactionInstruction({ keys, programId, data });
|
|
6770
6770
|
}
|
|
6771
6771
|
|
|
6772
|
-
// node_modules/.pnpm/@solana+spl-token-metadata@0.1.6_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.
|
|
6772
|
+
// node_modules/.pnpm/@solana+spl-token-metadata@0.1.6_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf_h2fjt7rfml5x3v2n222xtfklre/node_modules/@solana/spl-token-metadata/lib/esm/field.js
|
|
6773
6773
|
var Field;
|
|
6774
6774
|
(function(Field2) {
|
|
6775
6775
|
Field2[Field2["Name"] = 0] = "Name";
|
|
@@ -6794,7 +6794,7 @@ function getFieldConfig(field) {
|
|
|
6794
6794
|
}
|
|
6795
6795
|
}
|
|
6796
6796
|
|
|
6797
|
-
// node_modules/.pnpm/@solana+spl-token-metadata@0.1.6_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.
|
|
6797
|
+
// node_modules/.pnpm/@solana+spl-token-metadata@0.1.6_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf_h2fjt7rfml5x3v2n222xtfklre/node_modules/@solana/spl-token-metadata/lib/esm/instruction.js
|
|
6798
6798
|
function getInstructionEncoder2(discriminator, dataEncoder) {
|
|
6799
6799
|
return transformEncoder(getTupleEncoder([getBytesEncoder(), dataEncoder]), (data) => [
|
|
6800
6800
|
discriminator,
|
|
@@ -6925,7 +6925,7 @@ function createEmitInstruction(args) {
|
|
|
6925
6925
|
});
|
|
6926
6926
|
}
|
|
6927
6927
|
|
|
6928
|
-
// node_modules/.pnpm/@solana+spl-token-metadata@0.1.6_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.
|
|
6928
|
+
// node_modules/.pnpm/@solana+spl-token-metadata@0.1.6_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf_h2fjt7rfml5x3v2n222xtfklre/node_modules/@solana/spl-token-metadata/lib/esm/state.js
|
|
6929
6929
|
var TOKEN_METADATA_DISCRIMINATOR = Buffer.from([112, 132, 90, 90, 11, 88, 157, 87]);
|
|
6930
6930
|
function getStringCodec() {
|
|
6931
6931
|
return addCodecSizePrefix(getUtf8Codec(), getU32Codec());
|
|
@@ -6972,7 +6972,7 @@ function unpack(buffer) {
|
|
|
6972
6972
|
};
|
|
6973
6973
|
}
|
|
6974
6974
|
|
|
6975
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
6975
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/tokenMetadata/state.js
|
|
6976
6976
|
var getNormalizedTokenMetadataField = (field) => {
|
|
6977
6977
|
if (field === Field.Name || field === "Name" || field === "name") {
|
|
6978
6978
|
return "name";
|
|
@@ -7017,7 +7017,7 @@ async function getTokenMetadata(connection, address, commitment, programId = TOK
|
|
|
7017
7017
|
return unpack(data);
|
|
7018
7018
|
}
|
|
7019
7019
|
|
|
7020
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
7020
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/extensions/tokenMetadata/actions.js
|
|
7021
7021
|
async function getAdditionalRentForNewMetadata(connection, address, tokenMetadata, programId = TOKEN_2022_PROGRAM_ID) {
|
|
7022
7022
|
const info = await connection.getAccountInfo(address);
|
|
7023
7023
|
if (!info) {
|
|
@@ -7139,10 +7139,10 @@ async function tokenMetadataUpdateAuthority(connection, payer, mint, updateAutho
|
|
|
7139
7139
|
return await sendAndConfirmTransaction(connection, transaction, [payer, ...signers], confirmOptions);
|
|
7140
7140
|
}
|
|
7141
7141
|
|
|
7142
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
7142
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/decode.js
|
|
7143
7143
|
var import_buffer_layout57 = __toESM(require_Layout(), 1);
|
|
7144
7144
|
|
|
7145
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
7145
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/initializeAccount2.js
|
|
7146
7146
|
var import_buffer_layout55 = __toESM(require_Layout(), 1);
|
|
7147
7147
|
var initializeAccount2InstructionData = (0, import_buffer_layout55.struct)([
|
|
7148
7148
|
(0, import_buffer_layout55.u8)("instruction"),
|
|
@@ -7190,7 +7190,7 @@ function decodeInitializeAccount2InstructionUnchecked({ programId, keys: [accoun
|
|
|
7190
7190
|
};
|
|
7191
7191
|
}
|
|
7192
7192
|
|
|
7193
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
7193
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/initializeAccount3.js
|
|
7194
7194
|
var import_buffer_layout56 = __toESM(require_Layout(), 1);
|
|
7195
7195
|
var initializeAccount3InstructionData = (0, import_buffer_layout56.struct)([
|
|
7196
7196
|
(0, import_buffer_layout56.u8)("instruction"),
|
|
@@ -7235,7 +7235,7 @@ function decodeInitializeAccount3InstructionUnchecked({ programId, keys: [accoun
|
|
|
7235
7235
|
};
|
|
7236
7236
|
}
|
|
7237
7237
|
|
|
7238
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
7238
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/decode.js
|
|
7239
7239
|
function decodeInstruction(instruction, programId = TOKEN_PROGRAM_ID) {
|
|
7240
7240
|
if (!instruction.data.length)
|
|
7241
7241
|
throw new TokenInvalidInstructionDataError();
|
|
@@ -7355,7 +7355,7 @@ function isUiamountToAmountInstruction(decoded) {
|
|
|
7355
7355
|
return decoded.data.instruction === TokenInstruction.UiAmountToAmount;
|
|
7356
7356
|
}
|
|
7357
7357
|
|
|
7358
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
7358
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/initializeImmutableOwner.js
|
|
7359
7359
|
var import_buffer_layout58 = __toESM(require_Layout(), 1);
|
|
7360
7360
|
var initializeImmutableOwnerInstructionData = (0, import_buffer_layout58.struct)([
|
|
7361
7361
|
(0, import_buffer_layout58.u8)("instruction")
|
|
@@ -7399,7 +7399,7 @@ function decodeInitializeImmutableOwnerInstructionUnchecked({ programId, keys: [
|
|
|
7399
7399
|
};
|
|
7400
7400
|
}
|
|
7401
7401
|
|
|
7402
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
7402
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/initializeMintCloseAuthority.js
|
|
7403
7403
|
var import_buffer_layout59 = __toESM(require_Layout(), 1);
|
|
7404
7404
|
var initializeMintCloseAuthorityInstructionData = (0, import_buffer_layout59.struct)([
|
|
7405
7405
|
(0, import_buffer_layout59.u8)("instruction"),
|
|
@@ -7453,7 +7453,7 @@ function decodeInitializeMintCloseAuthorityInstructionUnchecked({ programId, key
|
|
|
7453
7453
|
};
|
|
7454
7454
|
}
|
|
7455
7455
|
|
|
7456
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
7456
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/reallocate.js
|
|
7457
7457
|
var import_buffer_layout60 = __toESM(require_Layout(), 1);
|
|
7458
7458
|
function createReallocateInstruction(account, payer, extensionTypes, owner, multiSigners = [], programId = TOKEN_2022_PROGRAM_ID) {
|
|
7459
7459
|
if (!programSupportsExtensions(programId)) {
|
|
@@ -7474,7 +7474,7 @@ function createReallocateInstruction(account, payer, extensionTypes, owner, mult
|
|
|
7474
7474
|
return new TransactionInstruction({ keys, programId, data });
|
|
7475
7475
|
}
|
|
7476
7476
|
|
|
7477
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
7477
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/initializeNonTransferableMint.js
|
|
7478
7478
|
var import_buffer_layout61 = __toESM(require_Layout(), 1);
|
|
7479
7479
|
var initializeNonTransferableMintInstructionData = (0, import_buffer_layout61.struct)([
|
|
7480
7480
|
(0, import_buffer_layout61.u8)("instruction")
|
|
@@ -7491,7 +7491,7 @@ function createInitializeNonTransferableMintInstruction(mint, programId) {
|
|
|
7491
7491
|
return new TransactionInstruction({ keys, programId, data });
|
|
7492
7492
|
}
|
|
7493
7493
|
|
|
7494
|
-
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-
|
|
7494
|
+
// node_modules/.pnpm/@solana+spl-token@0.4.14_@solana+web3.js@1.98.4_bufferutil@4.1.0_typescript@5.9.3_utf-8-valid_marz26fiis52knpb3q6tvxw7gi/node_modules/@solana/spl-token/lib/esm/instructions/initializePermanentDelegate.js
|
|
7495
7495
|
var import_buffer_layout62 = __toESM(require_Layout(), 1);
|
|
7496
7496
|
var initializePermanentDelegateInstructionData = (0, import_buffer_layout62.struct)([
|
|
7497
7497
|
(0, import_buffer_layout62.u8)("instruction"),
|