Socket
Socket
Sign inDemoInstall

@solana/spl-token

Package Overview
Dependencies
Maintainers
14
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@solana/spl-token - npm Package Compare versions

Comparing version 0.4.7 to 0.4.8

lib/cjs/package.json

3

lib/cjs/actions/amountToUiAmount.js

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.amountToUiAmount = void 0;
exports.amountToUiAmount = amountToUiAmount;
const web3_js_1 = require("@solana/web3.js");

@@ -38,3 +38,2 @@ const constants_js_1 = require("../constants.js");

}
exports.amountToUiAmount = amountToUiAmount;
//# sourceMappingURL=amountToUiAmount.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.approve = void 0;
exports.approve = approve;
const web3_js_1 = require("@solana/web3.js");

@@ -40,3 +40,2 @@ const constants_js_1 = require("../constants.js");

}
exports.approve = approve;
//# sourceMappingURL=approve.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.approveChecked = void 0;
exports.approveChecked = approveChecked;
const web3_js_1 = require("@solana/web3.js");

@@ -43,3 +43,2 @@ const constants_js_1 = require("../constants.js");

}
exports.approveChecked = approveChecked;
//# sourceMappingURL=approveChecked.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.burn = void 0;
exports.burn = burn;
const web3_js_1 = require("@solana/web3.js");

@@ -40,3 +40,2 @@ const constants_js_1 = require("../constants.js");

}
exports.burn = burn;
//# sourceMappingURL=burn.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.burnChecked = void 0;
exports.burnChecked = burnChecked;
const web3_js_1 = require("@solana/web3.js");

@@ -41,3 +41,2 @@ const constants_js_1 = require("../constants.js");

}
exports.burnChecked = burnChecked;
//# sourceMappingURL=burnChecked.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.closeAccount = void 0;
exports.closeAccount = closeAccount;
const web3_js_1 = require("@solana/web3.js");

@@ -39,3 +39,2 @@ const constants_js_1 = require("../constants.js");

}
exports.closeAccount = closeAccount;
//# sourceMappingURL=closeAccount.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.createAccount = void 0;
exports.createAccount = createAccount;
const web3_js_1 = require("@solana/web3.js");

@@ -53,3 +53,2 @@ const constants_js_1 = require("../constants.js");

}
exports.createAccount = createAccount;
//# sourceMappingURL=createAccount.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.createAssociatedTokenAccount = void 0;
exports.createAssociatedTokenAccount = createAssociatedTokenAccount;
const web3_js_1 = require("@solana/web3.js");

@@ -39,3 +39,2 @@ const constants_js_1 = require("../constants.js");

}
exports.createAssociatedTokenAccount = createAssociatedTokenAccount;
//# sourceMappingURL=createAssociatedTokenAccount.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.createAssociatedTokenAccountIdempotent = void 0;
exports.createAssociatedTokenAccountIdempotent = createAssociatedTokenAccountIdempotent;
const web3_js_1 = require("@solana/web3.js");

@@ -40,3 +40,2 @@ const constants_js_1 = require("../constants.js");

}
exports.createAssociatedTokenAccountIdempotent = createAssociatedTokenAccountIdempotent;
//# sourceMappingURL=createAssociatedTokenAccountIdempotent.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.createMint = void 0;
exports.createMint = createMint;
const web3_js_1 = require("@solana/web3.js");

@@ -46,3 +46,2 @@ const constants_js_1 = require("../constants.js");

}
exports.createMint = createMint;
//# sourceMappingURL=createMint.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.createMultisig = void 0;
exports.createMultisig = createMultisig;
const web3_js_1 = require("@solana/web3.js");

@@ -45,3 +45,2 @@ const constants_js_1 = require("../constants.js");

}
exports.createMultisig = createMultisig;
//# sourceMappingURL=createMultisig.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.createNativeMint = void 0;
exports.createNativeMint = createNativeMint;
const web3_js_1 = require("@solana/web3.js");

@@ -32,3 +32,2 @@ const constants_js_1 = require("../constants.js");

}
exports.createNativeMint = createNativeMint;
//# sourceMappingURL=createNativeMint.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.createWrappedNativeAccount = void 0;
exports.createWrappedNativeAccount = createWrappedNativeAccount;
const web3_js_1 = require("@solana/web3.js");

@@ -68,3 +68,2 @@ const constants_js_1 = require("../constants.js");

}
exports.createWrappedNativeAccount = createWrappedNativeAccount;
//# sourceMappingURL=createWrappedNativeAccount.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.freezeAccount = void 0;
exports.freezeAccount = freezeAccount;
const web3_js_1 = require("@solana/web3.js");

@@ -39,3 +39,2 @@ const constants_js_1 = require("../constants.js");

}
exports.freezeAccount = freezeAccount;
//# sourceMappingURL=freezeAccount.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.getOrCreateAssociatedTokenAccount = void 0;
exports.getOrCreateAssociatedTokenAccount = getOrCreateAssociatedTokenAccount;
const web3_js_1 = require("@solana/web3.js");

@@ -72,3 +72,2 @@ const constants_js_1 = require("../constants.js");

}
exports.getOrCreateAssociatedTokenAccount = getOrCreateAssociatedTokenAccount;
//# sourceMappingURL=getOrCreateAssociatedTokenAccount.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getSigners = void 0;
exports.getSigners = getSigners;
const web3_js_1 = require("@solana/web3.js");

@@ -11,3 +11,2 @@ /** @internal */

}
exports.getSigners = getSigners;
//# sourceMappingURL=internal.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.mintTo = void 0;
exports.mintTo = mintTo;
const web3_js_1 = require("@solana/web3.js");

@@ -40,3 +40,2 @@ const constants_js_1 = require("../constants.js");

}
exports.mintTo = mintTo;
//# sourceMappingURL=mintTo.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.mintToChecked = void 0;
exports.mintToChecked = mintToChecked;
const web3_js_1 = require("@solana/web3.js");

@@ -41,3 +41,2 @@ const constants_js_1 = require("../constants.js");

}
exports.mintToChecked = mintToChecked;
//# sourceMappingURL=mintToChecked.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.recoverNested = void 0;
exports.recoverNested = recoverNested;
const web3_js_1 = require("@solana/web3.js");

@@ -41,3 +41,2 @@ const constants_js_1 = require("../constants.js");

}
exports.recoverNested = recoverNested;
//# sourceMappingURL=recoverNested.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.revoke = void 0;
exports.revoke = revoke;
const web3_js_1 = require("@solana/web3.js");

@@ -38,3 +38,2 @@ const constants_js_1 = require("../constants.js");

}
exports.revoke = revoke;
//# sourceMappingURL=revoke.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.setAuthority = void 0;
exports.setAuthority = setAuthority;
const web3_js_1 = require("@solana/web3.js");

@@ -40,3 +40,2 @@ const constants_js_1 = require("../constants.js");

}
exports.setAuthority = setAuthority;
//# sourceMappingURL=setAuthority.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.syncNative = void 0;
exports.syncNative = syncNative;
const web3_js_1 = require("@solana/web3.js");

@@ -34,3 +34,2 @@ const constants_js_1 = require("../constants.js");

}
exports.syncNative = syncNative;
//# sourceMappingURL=syncNative.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.thawAccount = void 0;
exports.thawAccount = thawAccount;
const web3_js_1 = require("@solana/web3.js");

@@ -39,3 +39,2 @@ const constants_js_1 = require("../constants.js");

}
exports.thawAccount = thawAccount;
//# sourceMappingURL=thawAccount.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.transfer = void 0;
exports.transfer = transfer;
const web3_js_1 = require("@solana/web3.js");

@@ -40,3 +40,2 @@ const constants_js_1 = require("../constants.js");

}
exports.transfer = transfer;
//# sourceMappingURL=transfer.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.transferChecked = void 0;
exports.transferChecked = transferChecked;
const web3_js_1 = require("@solana/web3.js");

@@ -42,3 +42,2 @@ const constants_js_1 = require("../constants.js");

}
exports.transferChecked = transferChecked;
//# sourceMappingURL=transferChecked.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.uiAmountToAmount = void 0;
exports.uiAmountToAmount = uiAmountToAmount;
const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

@@ -40,3 +40,2 @@ const web3_js_1 = require("@solana/web3.js");

}
exports.uiAmountToAmount = uiAmountToAmount;
//# sourceMappingURL=uiAmountToAmount.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.programSupportsExtensions = exports.NATIVE_MINT_2022 = exports.NATIVE_MINT = exports.ASSOCIATED_TOKEN_PROGRAM_ID = exports.TOKEN_2022_PROGRAM_ID = exports.TOKEN_PROGRAM_ID = void 0;
exports.NATIVE_MINT_2022 = exports.NATIVE_MINT = exports.ASSOCIATED_TOKEN_PROGRAM_ID = exports.TOKEN_2022_PROGRAM_ID = exports.TOKEN_PROGRAM_ID = void 0;
exports.programSupportsExtensions = programSupportsExtensions;
const web3_js_1 = require("@solana/web3.js");

@@ -24,3 +25,2 @@ /** Address of the SPL Token program */

}
exports.programSupportsExtensions = programSupportsExtensions;
//# sourceMappingURL=constants.js.map

@@ -12,3 +12,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.disableCpiGuard = exports.enableCpiGuard = void 0;
exports.enableCpiGuard = enableCpiGuard;
exports.disableCpiGuard = disableCpiGuard;
const web3_js_1 = require("@solana/web3.js");

@@ -38,3 +39,2 @@ const internal_js_1 = require("../../actions/internal.js");

}
exports.enableCpiGuard = enableCpiGuard;
/**

@@ -60,3 +60,2 @@ * Disable CPI Guard on the given account

}
exports.disableCpiGuard = disableCpiGuard;
//# sourceMappingURL=actions.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createDisableCpiGuardInstruction = exports.createEnableCpiGuardInstruction = exports.cpiGuardInstructionData = exports.CpiGuardInstruction = void 0;
exports.cpiGuardInstructionData = exports.CpiGuardInstruction = void 0;
exports.createEnableCpiGuardInstruction = createEnableCpiGuardInstruction;
exports.createDisableCpiGuardInstruction = createDisableCpiGuardInstruction;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -30,3 +32,2 @@ const web3_js_1 = require("@solana/web3.js");

}
exports.createEnableCpiGuardInstruction = createEnableCpiGuardInstruction;
/**

@@ -45,3 +46,2 @@ * Construct a DisableCpiGuard instruction

}
exports.createDisableCpiGuardInstruction = createDisableCpiGuardInstruction;
function createCpiGuardInstruction(cpiGuardInstruction, account, authority, multiSigners, programId) {

@@ -48,0 +48,0 @@ if (!(0, constants_js_1.programSupportsExtensions)(programId)) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getCpiGuard = exports.CPI_GUARD_SIZE = exports.CpiGuardLayout = void 0;
exports.CPI_GUARD_SIZE = exports.CpiGuardLayout = void 0;
exports.getCpiGuard = getCpiGuard;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -19,3 +20,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.getCpiGuard = getCpiGuard;
//# sourceMappingURL=state.js.map

@@ -12,3 +12,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.updateDefaultAccountState = exports.initializeDefaultAccountState = void 0;
exports.initializeDefaultAccountState = initializeDefaultAccountState;
exports.updateDefaultAccountState = updateDefaultAccountState;
const web3_js_1 = require("@solana/web3.js");

@@ -36,3 +37,2 @@ const internal_js_1 = require("../../actions/internal.js");

}
exports.initializeDefaultAccountState = initializeDefaultAccountState;
/**

@@ -59,3 +59,2 @@ * Update the default account state on a mint

}
exports.updateDefaultAccountState = updateDefaultAccountState;
//# sourceMappingURL=actions.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createUpdateDefaultAccountStateInstruction = exports.createInitializeDefaultAccountStateInstruction = exports.defaultAccountStateInstructionData = exports.DefaultAccountStateInstruction = void 0;
exports.defaultAccountStateInstructionData = exports.DefaultAccountStateInstruction = void 0;
exports.createInitializeDefaultAccountStateInstruction = createInitializeDefaultAccountStateInstruction;
exports.createUpdateDefaultAccountStateInstruction = createUpdateDefaultAccountStateInstruction;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -43,3 +45,2 @@ const web3_js_1 = require("@solana/web3.js");

}
exports.createInitializeDefaultAccountStateInstruction = createInitializeDefaultAccountStateInstruction;
/**

@@ -69,3 +70,2 @@ * Construct an UpdateDefaultAccountState instruction

}
exports.createUpdateDefaultAccountStateInstruction = createUpdateDefaultAccountStateInstruction;
//# sourceMappingURL=instructions.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getDefaultAccountState = exports.DEFAULT_ACCOUNT_STATE_SIZE = exports.DefaultAccountStateLayout = void 0;
exports.DEFAULT_ACCOUNT_STATE_SIZE = exports.DefaultAccountStateLayout = void 0;
exports.getDefaultAccountState = getDefaultAccountState;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -18,3 +19,2 @@ const extensionType_js_1 = require("../extensionType.js");

}
exports.getDefaultAccountState = getDefaultAccountState;
//# sourceMappingURL=state.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getNewAccountLenForExtensionLen = exports.getAccountLenForMint = exports.getExtensionTypes = exports.getExtensionData = exports.getAccountLen = exports.getMintLen = exports.getAccountTypeOfMintType = exports.isAccountExtension = exports.isMintExtension = exports.getTypeLen = exports.LENGTH_SIZE = exports.TYPE_SIZE = exports.ExtensionType = void 0;
exports.LENGTH_SIZE = exports.TYPE_SIZE = exports.ExtensionType = void 0;
exports.getTypeLen = getTypeLen;
exports.isMintExtension = isMintExtension;
exports.isAccountExtension = isAccountExtension;
exports.getAccountTypeOfMintType = getAccountTypeOfMintType;
exports.getMintLen = getMintLen;
exports.getAccountLen = getAccountLen;
exports.getExtensionData = getExtensionData;
exports.getExtensionTypes = getExtensionTypes;
exports.getAccountLenForMint = getAccountLenForMint;
exports.getNewAccountLenForExtensionLen = getNewAccountLenForExtensionLen;
const account_js_1 = require("../state/account.js");

@@ -116,3 +126,2 @@ const mint_js_1 = require("../state/mint.js");

}
exports.getTypeLen = getTypeLen;
function isMintExtension(e) {

@@ -148,3 +157,2 @@ switch (e) {

}
exports.isMintExtension = isMintExtension;
function isAccountExtension(e) {

@@ -180,3 +188,2 @@ switch (e) {

}
exports.isAccountExtension = isAccountExtension;
function getAccountTypeOfMintType(e) {

@@ -213,3 +220,2 @@ switch (e) {

}
exports.getAccountTypeOfMintType = getAccountTypeOfMintType;
function getLen(extensionTypes, baseSize, variableLengthExtensions = {}) {

@@ -245,3 +251,2 @@ if (extensionTypes.length === 0 && Object.keys(variableLengthExtensions).length === 0) {

}
exports.getMintLen = getMintLen;
function getAccountLen(extensionTypes) {

@@ -251,3 +256,2 @@ // There are currently no variable length extensions for accounts

}
exports.getAccountLen = getAccountLen;
function getExtensionData(extension, tlvData) {

@@ -266,3 +270,2 @@ let extensionTypeIndex = 0;

}
exports.getExtensionData = getExtensionData;
function getExtensionTypes(tlvData) {

@@ -279,3 +282,2 @@ const extensionTypes = [];

}
exports.getExtensionTypes = getExtensionTypes;
function getAccountLenForMint(mint) {

@@ -286,3 +288,2 @@ const extensionTypes = getExtensionTypes(mint.tlvData);

}
exports.getAccountLenForMint = getAccountLenForMint;
function getNewAccountLenForExtensionLen(info, address, extensionType, extensionLen, programId = constants_js_1.TOKEN_2022_PROGRAM_ID) {

@@ -295,3 +296,2 @@ const mint = (0, mint_js_1.unpackMint)(address, info, programId);

}
exports.getNewAccountLenForExtensionLen = getNewAccountLenForExtensionLen;
//# sourceMappingURL=extensionType.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createUpdateGroupMemberPointerInstruction = exports.updateGroupMemberPointerData = exports.createInitializeGroupMemberPointerInstruction = exports.initializeGroupMemberPointerData = exports.GroupMemberPointerInstruction = void 0;
exports.updateGroupMemberPointerData = exports.initializeGroupMemberPointerData = exports.GroupMemberPointerInstruction = void 0;
exports.createInitializeGroupMemberPointerInstruction = createInitializeGroupMemberPointerInstruction;
exports.createUpdateGroupMemberPointerInstruction = createUpdateGroupMemberPointerInstruction;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -47,3 +49,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.createInitializeGroupMemberPointerInstruction = createInitializeGroupMemberPointerInstruction;
exports.updateGroupMemberPointerData = (0, buffer_layout_1.struct)([

@@ -68,3 +69,2 @@ // prettier-ignore

}
exports.createUpdateGroupMemberPointerInstruction = createUpdateGroupMemberPointerInstruction;
//# sourceMappingURL=instructions.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getGroupMemberPointerState = exports.GROUP_MEMBER_POINTER_SIZE = exports.GroupMemberPointerLayout = void 0;
exports.GROUP_MEMBER_POINTER_SIZE = exports.GroupMemberPointerLayout = void 0;
exports.getGroupMemberPointerState = getGroupMemberPointerState;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -28,3 +29,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.getGroupMemberPointerState = getGroupMemberPointerState;
//# sourceMappingURL=state.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createUpdateGroupPointerInstruction = exports.updateGroupPointerData = exports.createInitializeGroupPointerInstruction = exports.initializeGroupPointerData = exports.GroupPointerInstruction = void 0;
exports.updateGroupPointerData = exports.initializeGroupPointerData = exports.GroupPointerInstruction = void 0;
exports.createInitializeGroupPointerInstruction = createInitializeGroupPointerInstruction;
exports.createUpdateGroupPointerInstruction = createUpdateGroupPointerInstruction;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -47,3 +49,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.createInitializeGroupPointerInstruction = createInitializeGroupPointerInstruction;
exports.updateGroupPointerData = (0, buffer_layout_1.struct)([

@@ -68,3 +69,2 @@ // prettier-ignore

}
exports.createUpdateGroupPointerInstruction = createUpdateGroupPointerInstruction;
//# sourceMappingURL=instructions.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getGroupPointerState = exports.GROUP_POINTER_SIZE = exports.GroupPointerLayout = void 0;
exports.GROUP_POINTER_SIZE = exports.GroupPointerLayout = void 0;
exports.getGroupPointerState = getGroupPointerState;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -28,3 +29,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.getGroupPointerState = getGroupPointerState;
//# sourceMappingURL=state.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getImmutableOwner = exports.IMMUTABLE_OWNER_SIZE = exports.ImmutableOwnerLayout = void 0;
exports.IMMUTABLE_OWNER_SIZE = exports.ImmutableOwnerLayout = void 0;
exports.getImmutableOwner = getImmutableOwner;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -18,3 +19,2 @@ const extensionType_js_1 = require("./extensionType.js");

}
exports.getImmutableOwner = getImmutableOwner;
//# sourceMappingURL=immutableOwner.js.map

@@ -12,3 +12,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.updateRateInterestBearingMint = exports.createInterestBearingMint = void 0;
exports.createInterestBearingMint = createInterestBearingMint;
exports.updateRateInterestBearingMint = updateRateInterestBearingMint;
const web3_js_1 = require("@solana/web3.js");

@@ -51,3 +52,2 @@ const internal_js_1 = require("../../actions/internal.js");

}
exports.createInterestBearingMint = createInterestBearingMint;
/**

@@ -74,3 +74,2 @@ * Update the interest rate of an interest bearing account

}
exports.updateRateInterestBearingMint = updateRateInterestBearingMint;
//# sourceMappingURL=actions.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createUpdateRateInterestBearingMintInstruction = exports.createInitializeInterestBearingMintInstruction = exports.interestBearingMintUpdateRateInstructionData = exports.interestBearingMintInitializeInstructionData = exports.InterestBearingMintInstruction = void 0;
exports.interestBearingMintUpdateRateInstructionData = exports.interestBearingMintInitializeInstructionData = exports.InterestBearingMintInstruction = void 0;
exports.createInitializeInterestBearingMintInstruction = createInitializeInterestBearingMintInstruction;
exports.createUpdateRateInterestBearingMintInstruction = createUpdateRateInterestBearingMintInstruction;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -48,3 +50,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.createInitializeInterestBearingMintInstruction = createInitializeInterestBearingMintInstruction;
/**

@@ -74,3 +75,2 @@ * Construct an UpdateRateInterestBearingMint instruction

}
exports.createUpdateRateInterestBearingMintInstruction = createUpdateRateInterestBearingMintInstruction;
//# sourceMappingURL=instructions.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getInterestBearingMintConfigState = exports.INTEREST_BEARING_MINT_CONFIG_STATE_SIZE = exports.InterestBearingMintConfigStateLayout = void 0;
exports.INTEREST_BEARING_MINT_CONFIG_STATE_SIZE = exports.InterestBearingMintConfigStateLayout = void 0;
exports.getInterestBearingMintConfigState = getInterestBearingMintConfigState;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -22,3 +23,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.getInterestBearingMintConfigState = getInterestBearingMintConfigState;
//# sourceMappingURL=state.js.map

@@ -12,3 +12,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.disableRequiredMemoTransfers = exports.enableRequiredMemoTransfers = void 0;
exports.enableRequiredMemoTransfers = enableRequiredMemoTransfers;
exports.disableRequiredMemoTransfers = disableRequiredMemoTransfers;
const web3_js_1 = require("@solana/web3.js");

@@ -38,3 +39,2 @@ const internal_js_1 = require("../../actions/internal.js");

}
exports.enableRequiredMemoTransfers = enableRequiredMemoTransfers;
/**

@@ -60,3 +60,2 @@ * Disable memo transfers on the given account

}
exports.disableRequiredMemoTransfers = disableRequiredMemoTransfers;
//# sourceMappingURL=actions.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createDisableRequiredMemoTransfersInstruction = exports.createEnableRequiredMemoTransfersInstruction = exports.memoTransferInstructionData = exports.MemoTransferInstruction = void 0;
exports.memoTransferInstructionData = exports.MemoTransferInstruction = void 0;
exports.createEnableRequiredMemoTransfersInstruction = createEnableRequiredMemoTransfersInstruction;
exports.createDisableRequiredMemoTransfersInstruction = createDisableRequiredMemoTransfersInstruction;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -33,3 +35,2 @@ const web3_js_1 = require("@solana/web3.js");

}
exports.createEnableRequiredMemoTransfersInstruction = createEnableRequiredMemoTransfersInstruction;
/**

@@ -48,3 +49,2 @@ * Construct a DisableMemoTransfer instruction

}
exports.createDisableRequiredMemoTransfersInstruction = createDisableRequiredMemoTransfersInstruction;
function createMemoTransferInstruction(memoTransferInstruction, account, authority, multiSigners, programId) {

@@ -51,0 +51,0 @@ if (!(0, constants_js_1.programSupportsExtensions)(programId)) {

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getMemoTransfer = exports.MEMO_TRANSFER_SIZE = exports.MemoTransferLayout = void 0;
exports.MEMO_TRANSFER_SIZE = exports.MemoTransferLayout = void 0;
exports.getMemoTransfer = getMemoTransfer;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -19,3 +20,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.getMemoTransfer = getMemoTransfer;
//# sourceMappingURL=state.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createUpdateMetadataPointerInstruction = exports.updateMetadataPointerData = exports.createInitializeMetadataPointerInstruction = exports.initializeMetadataPointerData = exports.MetadataPointerInstruction = void 0;
exports.updateMetadataPointerData = exports.initializeMetadataPointerData = exports.MetadataPointerInstruction = void 0;
exports.createInitializeMetadataPointerInstruction = createInitializeMetadataPointerInstruction;
exports.createUpdateMetadataPointerInstruction = createUpdateMetadataPointerInstruction;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -47,3 +49,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.createInitializeMetadataPointerInstruction = createInitializeMetadataPointerInstruction;
exports.updateMetadataPointerData = (0, buffer_layout_1.struct)([

@@ -68,3 +69,2 @@ // prettier-ignore

}
exports.createUpdateMetadataPointerInstruction = createUpdateMetadataPointerInstruction;
//# sourceMappingURL=instructions.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getMetadataPointerState = exports.METADATA_POINTER_SIZE = exports.MetadataPointerLayout = void 0;
exports.METADATA_POINTER_SIZE = exports.MetadataPointerLayout = void 0;
exports.getMetadataPointerState = getMetadataPointerState;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -28,3 +29,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.getMetadataPointerState = getMetadataPointerState;
//# sourceMappingURL=state.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getMintCloseAuthority = exports.MINT_CLOSE_AUTHORITY_SIZE = exports.MintCloseAuthorityLayout = void 0;
exports.MINT_CLOSE_AUTHORITY_SIZE = exports.MintCloseAuthorityLayout = void 0;
exports.getMintCloseAuthority = getMintCloseAuthority;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -19,3 +20,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.getMintCloseAuthority = getMintCloseAuthority;
//# sourceMappingURL=mintCloseAuthority.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getNonTransferableAccount = exports.getNonTransferable = exports.NON_TRANSFERABLE_ACCOUNT_SIZE = exports.NON_TRANSFERABLE_SIZE = exports.NonTransferableLayout = void 0;
exports.NON_TRANSFERABLE_ACCOUNT_SIZE = exports.NON_TRANSFERABLE_SIZE = exports.NonTransferableLayout = void 0;
exports.getNonTransferable = getNonTransferable;
exports.getNonTransferableAccount = getNonTransferableAccount;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -19,3 +21,2 @@ const extensionType_js_1 = require("./extensionType.js");

}
exports.getNonTransferable = getNonTransferable;
function getNonTransferableAccount(account) {

@@ -30,3 +31,2 @@ const extensionData = (0, extensionType_js_1.getExtensionData)(extensionType_js_1.ExtensionType.NonTransferableAccount, account.tlvData);

}
exports.getNonTransferableAccount = getNonTransferableAccount;
//# sourceMappingURL=nonTransferable.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getPermanentDelegate = exports.PERMANENT_DELEGATE_SIZE = exports.PermanentDelegateLayout = void 0;
exports.PERMANENT_DELEGATE_SIZE = exports.PermanentDelegateLayout = void 0;
exports.getPermanentDelegate = getPermanentDelegate;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -19,3 +20,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.getPermanentDelegate = getPermanentDelegate;
//# sourceMappingURL=permanentDelegate.js.map

@@ -12,3 +12,8 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.tokenGroupMemberInitializeWithRentTransfer = exports.tokenGroupMemberInitialize = exports.tokenGroupUpdateGroupAuthority = exports.tokenGroupUpdateGroupMaxSize = exports.tokenGroupInitializeGroupWithRentTransfer = exports.tokenGroupInitializeGroup = void 0;
exports.tokenGroupInitializeGroup = tokenGroupInitializeGroup;
exports.tokenGroupInitializeGroupWithRentTransfer = tokenGroupInitializeGroupWithRentTransfer;
exports.tokenGroupUpdateGroupMaxSize = tokenGroupUpdateGroupMaxSize;
exports.tokenGroupUpdateGroupAuthority = tokenGroupUpdateGroupAuthority;
exports.tokenGroupMemberInitialize = tokenGroupMemberInitialize;
exports.tokenGroupMemberInitializeWithRentTransfer = tokenGroupMemberInitializeWithRentTransfer;
const web3_js_1 = require("@solana/web3.js");

@@ -49,3 +54,2 @@ const spl_token_group_1 = require("@solana/spl-token-group");

}
exports.tokenGroupInitializeGroup = tokenGroupInitializeGroup;
/**

@@ -87,3 +91,2 @@ * Initialize a new `Group` with rent transfer.

}
exports.tokenGroupInitializeGroupWithRentTransfer = tokenGroupInitializeGroupWithRentTransfer;
/**

@@ -115,3 +118,2 @@ * Update the max size of a `Group`

}
exports.tokenGroupUpdateGroupMaxSize = tokenGroupUpdateGroupMaxSize;
/**

@@ -143,3 +145,2 @@ * Update the authority of a `Group`

}
exports.tokenGroupUpdateGroupAuthority = tokenGroupUpdateGroupAuthority;
/**

@@ -177,3 +178,2 @@ * Initialize a new `Member` of a `Group`

}
exports.tokenGroupMemberInitialize = tokenGroupMemberInitialize;
/**

@@ -216,3 +216,2 @@ * Initialize a new `Member` of a `Group` with rent transfer.

}
exports.tokenGroupMemberInitializeWithRentTransfer = tokenGroupMemberInitializeWithRentTransfer;
//# sourceMappingURL=actions.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTokenGroupMemberState = exports.getTokenGroupState = exports.TOKEN_GROUP_MEMBER_SIZE = exports.TOKEN_GROUP_SIZE = void 0;
exports.TOKEN_GROUP_MEMBER_SIZE = exports.TOKEN_GROUP_SIZE = void 0;
exports.getTokenGroupState = getTokenGroupState;
exports.getTokenGroupMemberState = getTokenGroupMemberState;
const web3_js_1 = require("@solana/web3.js");

@@ -26,3 +28,2 @@ const spl_token_group_1 = require("@solana/spl-token-group");

}
exports.getTokenGroupState = getTokenGroupState;
function getTokenGroupMemberState(mint) {

@@ -42,3 +43,2 @@ const extensionData = (0, extensionType_js_1.getExtensionData)(extensionType_js_1.ExtensionType.TokenGroupMember, mint.tlvData);

}
exports.getTokenGroupMemberState = getTokenGroupMemberState;
//# sourceMappingURL=state.js.map

@@ -12,3 +12,8 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.tokenMetadataUpdateAuthority = exports.tokenMetadataRemoveKey = exports.tokenMetadataUpdateFieldWithRentTransfer = exports.tokenMetadataUpdateField = exports.tokenMetadataInitializeWithRentTransfer = exports.tokenMetadataInitialize = void 0;
exports.tokenMetadataInitialize = tokenMetadataInitialize;
exports.tokenMetadataInitializeWithRentTransfer = tokenMetadataInitializeWithRentTransfer;
exports.tokenMetadataUpdateField = tokenMetadataUpdateField;
exports.tokenMetadataUpdateFieldWithRentTransfer = tokenMetadataUpdateFieldWithRentTransfer;
exports.tokenMetadataRemoveKey = tokenMetadataRemoveKey;
exports.tokenMetadataUpdateAuthority = tokenMetadataUpdateAuthority;
const web3_js_1 = require("@solana/web3.js");

@@ -91,3 +96,2 @@ const spl_token_metadata_1 = require("@solana/spl-token-metadata");

}
exports.tokenMetadataInitialize = tokenMetadataInitialize;
/**

@@ -139,3 +143,2 @@ * Initializes a TLV entry with the basic token-metadata fields,

}
exports.tokenMetadataInitializeWithRentTransfer = tokenMetadataInitializeWithRentTransfer;
/**

@@ -173,3 +176,2 @@ * Updates a field in a token-metadata account.

}
exports.tokenMetadataUpdateField = tokenMetadataUpdateField;
/**

@@ -213,3 +215,2 @@ * Updates a field in a token-metadata account.

}
exports.tokenMetadataUpdateFieldWithRentTransfer = tokenMetadataUpdateFieldWithRentTransfer;
/**

@@ -245,3 +246,2 @@ * Remove a field in a token-metadata account.

}
exports.tokenMetadataRemoveKey = tokenMetadataRemoveKey;
/**

@@ -273,3 +273,2 @@ * Update authority

}
exports.tokenMetadataUpdateAuthority = tokenMetadataUpdateAuthority;
//# sourceMappingURL=actions.js.map

@@ -12,3 +12,4 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.getTokenMetadata = exports.updateTokenMetadata = void 0;
exports.updateTokenMetadata = updateTokenMetadata;
exports.getTokenMetadata = getTokenMetadata;
const spl_token_metadata_1 = require("@solana/spl-token-metadata");

@@ -52,3 +53,2 @@ const constants_js_1 = require("../../constants.js");

}
exports.updateTokenMetadata = updateTokenMetadata;
/**

@@ -74,3 +74,2 @@ * Retrieve Token Metadata Information

}
exports.getTokenMetadata = getTokenMetadata;
//# sourceMappingURL=state.js.map

@@ -12,3 +12,7 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.setTransferFee = exports.harvestWithheldTokensToMint = exports.withdrawWithheldTokensFromAccounts = exports.withdrawWithheldTokensFromMint = exports.transferCheckedWithFee = void 0;
exports.transferCheckedWithFee = transferCheckedWithFee;
exports.withdrawWithheldTokensFromMint = withdrawWithheldTokensFromMint;
exports.withdrawWithheldTokensFromAccounts = withdrawWithheldTokensFromAccounts;
exports.harvestWithheldTokensToMint = harvestWithheldTokensToMint;
exports.setTransferFee = setTransferFee;
const web3_js_1 = require("@solana/web3.js");

@@ -42,3 +46,2 @@ const internal_js_1 = require("../../actions/internal.js");

}
exports.transferCheckedWithFee = transferCheckedWithFee;
/**

@@ -65,3 +68,2 @@ * Withdraw withheld tokens from mint

}
exports.withdrawWithheldTokensFromMint = withdrawWithheldTokensFromMint;
/**

@@ -89,3 +91,2 @@ * Withdraw withheld tokens from accounts

}
exports.withdrawWithheldTokensFromAccounts = withdrawWithheldTokensFromAccounts;
/**

@@ -109,3 +110,2 @@ * Harvest withheld tokens from accounts to the mint

}
exports.harvestWithheldTokensToMint = harvestWithheldTokensToMint;
/**

@@ -133,3 +133,2 @@ * Update transfer fee and maximum fee

}
exports.setTransferFee = setTransferFee;
//# sourceMappingURL=actions.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeSetTransferFeeInstructionUnchecked = exports.decodeSetTransferFeeInstruction = exports.createSetTransferFeeInstruction = exports.setTransferFeeInstructionData = exports.decodeHarvestWithheldTokensToMintInstructionUnchecked = exports.decodeHarvestWithheldTokensToMintInstruction = exports.createHarvestWithheldTokensToMintInstruction = exports.harvestWithheldTokensToMintInstructionData = exports.decodeWithdrawWithheldTokensFromAccountsInstructionUnchecked = exports.decodeWithdrawWithheldTokensFromAccountsInstruction = exports.createWithdrawWithheldTokensFromAccountsInstruction = exports.withdrawWithheldTokensFromAccountsInstructionData = exports.decodeWithdrawWithheldTokensFromMintInstructionUnchecked = exports.decodeWithdrawWithheldTokensFromMintInstruction = exports.createWithdrawWithheldTokensFromMintInstruction = exports.withdrawWithheldTokensFromMintInstructionData = exports.decodeTransferCheckedWithFeeInstructionUnchecked = exports.decodeTransferCheckedWithFeeInstruction = exports.createTransferCheckedWithFeeInstruction = exports.transferCheckedWithFeeInstructionData = exports.decodeInitializeTransferFeeConfigInstructionUnchecked = exports.decodeInitializeTransferFeeConfigInstruction = exports.createInitializeTransferFeeConfigInstruction = exports.initializeTransferFeeConfigInstructionData = exports.TransferFeeInstruction = void 0;
exports.setTransferFeeInstructionData = exports.harvestWithheldTokensToMintInstructionData = exports.withdrawWithheldTokensFromAccountsInstructionData = exports.withdrawWithheldTokensFromMintInstructionData = exports.transferCheckedWithFeeInstructionData = exports.initializeTransferFeeConfigInstructionData = exports.TransferFeeInstruction = void 0;
exports.createInitializeTransferFeeConfigInstruction = createInitializeTransferFeeConfigInstruction;
exports.decodeInitializeTransferFeeConfigInstruction = decodeInitializeTransferFeeConfigInstruction;
exports.decodeInitializeTransferFeeConfigInstructionUnchecked = decodeInitializeTransferFeeConfigInstructionUnchecked;
exports.createTransferCheckedWithFeeInstruction = createTransferCheckedWithFeeInstruction;
exports.decodeTransferCheckedWithFeeInstruction = decodeTransferCheckedWithFeeInstruction;
exports.decodeTransferCheckedWithFeeInstructionUnchecked = decodeTransferCheckedWithFeeInstructionUnchecked;
exports.createWithdrawWithheldTokensFromMintInstruction = createWithdrawWithheldTokensFromMintInstruction;
exports.decodeWithdrawWithheldTokensFromMintInstruction = decodeWithdrawWithheldTokensFromMintInstruction;
exports.decodeWithdrawWithheldTokensFromMintInstructionUnchecked = decodeWithdrawWithheldTokensFromMintInstructionUnchecked;
exports.createWithdrawWithheldTokensFromAccountsInstruction = createWithdrawWithheldTokensFromAccountsInstruction;
exports.decodeWithdrawWithheldTokensFromAccountsInstruction = decodeWithdrawWithheldTokensFromAccountsInstruction;
exports.decodeWithdrawWithheldTokensFromAccountsInstructionUnchecked = decodeWithdrawWithheldTokensFromAccountsInstructionUnchecked;
exports.createHarvestWithheldTokensToMintInstruction = createHarvestWithheldTokensToMintInstruction;
exports.decodeHarvestWithheldTokensToMintInstruction = decodeHarvestWithheldTokensToMintInstruction;
exports.decodeHarvestWithheldTokensToMintInstructionUnchecked = decodeHarvestWithheldTokensToMintInstructionUnchecked;
exports.createSetTransferFeeInstruction = createSetTransferFeeInstruction;
exports.decodeSetTransferFeeInstruction = decodeSetTransferFeeInstruction;
exports.decodeSetTransferFeeInstructionUnchecked = decodeSetTransferFeeInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -58,3 +76,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.createInitializeTransferFeeConfigInstruction = createInitializeTransferFeeConfigInstruction;
/**

@@ -87,3 +104,2 @@ * Decode an InitializeTransferFeeConfig instruction and validate it

}
exports.decodeInitializeTransferFeeConfigInstruction = decodeInitializeTransferFeeConfigInstruction;
/**

@@ -113,3 +129,2 @@ * Decode an InitializeTransferFeeConfig instruction without validating it

}
exports.decodeInitializeTransferFeeConfigInstructionUnchecked = decodeInitializeTransferFeeConfigInstructionUnchecked;
exports.transferCheckedWithFeeInstructionData = (0, buffer_layout_1.struct)([

@@ -156,3 +171,2 @@ (0, buffer_layout_1.u8)('instruction'),

}
exports.createTransferCheckedWithFeeInstruction = createTransferCheckedWithFeeInstruction;
/**

@@ -189,3 +203,2 @@ * Decode a TransferCheckedWithFee instruction and validate it

}
exports.decodeTransferCheckedWithFeeInstruction = decodeTransferCheckedWithFeeInstruction;
/**

@@ -218,3 +231,2 @@ * Decode a TransferCheckedWithFees instruction without validating it

}
exports.decodeTransferCheckedWithFeeInstructionUnchecked = decodeTransferCheckedWithFeeInstructionUnchecked;
exports.withdrawWithheldTokensFromMintInstructionData = (0, buffer_layout_1.struct)([

@@ -250,3 +262,2 @@ (0, buffer_layout_1.u8)('instruction'),

}
exports.createWithdrawWithheldTokensFromMintInstruction = createWithdrawWithheldTokensFromMintInstruction;
/**

@@ -282,3 +293,2 @@ * Decode a WithdrawWithheldTokensFromMint instruction and validate it

}
exports.decodeWithdrawWithheldTokensFromMintInstruction = decodeWithdrawWithheldTokensFromMintInstruction;
/**

@@ -307,3 +317,2 @@ * Decode a WithdrawWithheldTokensFromMint instruction without validating it

}
exports.decodeWithdrawWithheldTokensFromMintInstructionUnchecked = decodeWithdrawWithheldTokensFromMintInstructionUnchecked;
exports.withdrawWithheldTokensFromAccountsInstructionData = (0, buffer_layout_1.struct)([

@@ -345,3 +354,2 @@ (0, buffer_layout_1.u8)('instruction'),

}
exports.createWithdrawWithheldTokensFromAccountsInstruction = createWithdrawWithheldTokensFromAccountsInstruction;
/**

@@ -378,3 +386,2 @@ * Decode a WithdrawWithheldTokensFromAccounts instruction and validate it

}
exports.decodeWithdrawWithheldTokensFromAccountsInstruction = decodeWithdrawWithheldTokensFromAccountsInstruction;
/**

@@ -412,3 +419,2 @@ * Decode a WithdrawWithheldTokensFromAccount instruction without validating it

}
exports.decodeWithdrawWithheldTokensFromAccountsInstructionUnchecked = decodeWithdrawWithheldTokensFromAccountsInstructionUnchecked;
exports.harvestWithheldTokensToMintInstructionData = (0, buffer_layout_1.struct)([

@@ -443,3 +449,2 @@ (0, buffer_layout_1.u8)('instruction'),

}
exports.createHarvestWithheldTokensToMintInstruction = createHarvestWithheldTokensToMintInstruction;
/**

@@ -473,3 +478,2 @@ * Decode a HarvestWithheldTokensToMint instruction and validate it

}
exports.decodeHarvestWithheldTokensToMintInstruction = decodeHarvestWithheldTokensToMintInstruction;
/**

@@ -496,3 +500,2 @@ * Decode a HarvestWithheldTokensToMint instruction without validating it

}
exports.decodeHarvestWithheldTokensToMintInstructionUnchecked = decodeHarvestWithheldTokensToMintInstructionUnchecked;
exports.setTransferFeeInstructionData = (0, buffer_layout_1.struct)([

@@ -530,3 +533,2 @@ (0, buffer_layout_1.u8)('instruction'),

}
exports.createSetTransferFeeInstruction = createSetTransferFeeInstruction;
/**

@@ -561,3 +563,2 @@ * Decode an SetTransferFee instruction and validate it

}
exports.decodeSetTransferFeeInstruction = decodeSetTransferFeeInstruction;
/**

@@ -587,3 +588,2 @@ * Decode a SetTransferFee instruction without validating it

}
exports.decodeSetTransferFeeInstructionUnchecked = decodeSetTransferFeeInstructionUnchecked;
//# sourceMappingURL=instructions.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTransferFeeAmount = exports.getTransferFeeConfig = exports.TRANSFER_FEE_AMOUNT_SIZE = exports.TransferFeeAmountLayout = exports.calculateEpochFee = exports.getEpochFee = exports.TRANSFER_FEE_CONFIG_SIZE = exports.TransferFeeConfigLayout = exports.calculateFee = exports.transferFeeLayout = exports.ONE_IN_BASIS_POINTS = exports.MAX_FEE_BASIS_POINTS = void 0;
exports.TRANSFER_FEE_AMOUNT_SIZE = exports.TransferFeeAmountLayout = exports.TRANSFER_FEE_CONFIG_SIZE = exports.TransferFeeConfigLayout = exports.ONE_IN_BASIS_POINTS = exports.MAX_FEE_BASIS_POINTS = void 0;
exports.transferFeeLayout = transferFeeLayout;
exports.calculateFee = calculateFee;
exports.getEpochFee = getEpochFee;
exports.calculateEpochFee = calculateEpochFee;
exports.getTransferFeeConfig = getTransferFeeConfig;
exports.getTransferFeeAmount = getTransferFeeAmount;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -13,3 +19,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.transferFeeLayout = transferFeeLayout;
/** Calculate the transfer fee */

@@ -28,3 +33,2 @@ function calculateFee(transferFee, preFeeAmount) {

}
exports.calculateFee = calculateFee;
/** Buffer layout for de/serializing a transfer fee config extension */

@@ -48,3 +52,2 @@ exports.TransferFeeConfigLayout = (0, buffer_layout_1.struct)([

}
exports.getEpochFee = getEpochFee;
/** Calculate the fee for the given epoch and input amount */

@@ -55,3 +58,2 @@ function calculateEpochFee(transferFeeConfig, epoch, preFeeAmount) {

}
exports.calculateEpochFee = calculateEpochFee;
/** Buffer layout for de/serializing */

@@ -69,3 +71,2 @@ exports.TransferFeeAmountLayout = (0, buffer_layout_1.struct)([(0, buffer_layout_utils_1.u64)('withheldAmount')]);

}
exports.getTransferFeeConfig = getTransferFeeConfig;
function getTransferFeeAmount(account) {

@@ -80,3 +81,2 @@ const extensionData = (0, extensionType_js_1.getExtensionData)(extensionType_js_1.ExtensionType.TransferFeeAmount, account.tlvData);

}
exports.getTransferFeeAmount = getTransferFeeAmount;
//# sourceMappingURL=state.js.map

@@ -12,3 +12,6 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.transferCheckedWithFeeAndTransferHook = exports.transferCheckedWithTransferHook = exports.updateTransferHook = exports.initializeTransferHook = void 0;
exports.initializeTransferHook = initializeTransferHook;
exports.updateTransferHook = updateTransferHook;
exports.transferCheckedWithTransferHook = transferCheckedWithTransferHook;
exports.transferCheckedWithFeeAndTransferHook = transferCheckedWithFeeAndTransferHook;
const web3_js_1 = require("@solana/web3.js");

@@ -37,3 +40,2 @@ const internal_js_1 = require("../../actions/internal.js");

}
exports.initializeTransferHook = initializeTransferHook;
/**

@@ -60,3 +62,2 @@ * Update the transfer hook program on a mint

}
exports.updateTransferHook = updateTransferHook;
/**

@@ -86,3 +87,2 @@ * Transfer tokens from one account to another, asserting the token mint, and decimals

}
exports.transferCheckedWithTransferHook = transferCheckedWithTransferHook;
/**

@@ -113,3 +113,2 @@ * Transfer tokens from one account to another, asserting the transfer fee, token mint, and decimals

}
exports.transferCheckedWithFeeAndTransferHook = transferCheckedWithFeeAndTransferHook;
//# sourceMappingURL=actions.js.map

@@ -12,3 +12,9 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.createTransferCheckedWithFeeAndTransferHookInstruction = exports.createTransferCheckedWithTransferHookInstruction = exports.addExtraAccountMetasForExecute = exports.createExecuteInstruction = exports.createUpdateTransferHookInstruction = exports.updateTransferHookInstructionData = exports.createInitializeTransferHookInstruction = exports.initializeTransferHookInstructionData = exports.TransferHookInstruction = void 0;
exports.updateTransferHookInstructionData = exports.initializeTransferHookInstructionData = exports.TransferHookInstruction = void 0;
exports.createInitializeTransferHookInstruction = createInitializeTransferHookInstruction;
exports.createUpdateTransferHookInstruction = createUpdateTransferHookInstruction;
exports.createExecuteInstruction = createExecuteInstruction;
exports.addExtraAccountMetasForExecute = addExtraAccountMetasForExecute;
exports.createTransferCheckedWithTransferHookInstruction = createTransferCheckedWithTransferHookInstruction;
exports.createTransferCheckedWithFeeAndTransferHookInstruction = createTransferCheckedWithFeeAndTransferHookInstruction;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -61,3 +67,2 @@ const web3_js_1 = require("@solana/web3.js");

}
exports.createInitializeTransferHookInstruction = createInitializeTransferHookInstruction;
/** The struct that represents the instruction data as it is read by the program */

@@ -93,3 +98,2 @@ exports.updateTransferHookInstructionData = (0, buffer_layout_1.struct)([

}
exports.createUpdateTransferHookInstruction = createUpdateTransferHookInstruction;
function deEscalateAccountMeta(accountMeta, accountMetas) {

@@ -138,3 +142,2 @@ const maybeHighestPrivileges = accountMetas

}
exports.createExecuteInstruction = createExecuteInstruction;
/**

@@ -178,3 +181,2 @@ * Adds all the extra accounts needed for a transfer hook to an instruction.

}
exports.addExtraAccountMetasForExecute = addExtraAccountMetasForExecute;
/**

@@ -207,3 +209,2 @@ * Construct an transferChecked instruction with extra accounts for transfer hook

}
exports.createTransferCheckedWithTransferHookInstruction = createTransferCheckedWithTransferHookInstruction;
/**

@@ -237,3 +238,2 @@ * Construct an transferChecked instruction with extra accounts for transfer hook

}
exports.createTransferCheckedWithFeeAndTransferHookInstruction = createTransferCheckedWithFeeAndTransferHookInstruction;
//# sourceMappingURL=instructions.js.map

@@ -12,3 +12,3 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.unpackSeeds = void 0;
exports.unpackSeeds = unpackSeeds;
const errors_js_1 = require("../../errors.js");

@@ -119,3 +119,2 @@ const DISCRIMINATOR_SPAN = 1;

}
exports.unpackSeeds = unpackSeeds;
//# sourceMappingURL=seeds.js.map

@@ -12,3 +12,8 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.resolveExtraAccountMeta = exports.getExtraAccountMetas = exports.ExtraAccountMetaAccountDataLayout = exports.ExtraAccountMetaListLayout = exports.ExtraAccountMetaLayout = exports.getExtraAccountMetaAddress = exports.getTransferHookAccount = exports.TRANSFER_HOOK_ACCOUNT_SIZE = exports.TransferHookAccountLayout = exports.getTransferHook = exports.TRANSFER_HOOK_SIZE = exports.TransferHookLayout = void 0;
exports.ExtraAccountMetaAccountDataLayout = exports.ExtraAccountMetaListLayout = exports.ExtraAccountMetaLayout = exports.TRANSFER_HOOK_ACCOUNT_SIZE = exports.TransferHookAccountLayout = exports.TRANSFER_HOOK_SIZE = exports.TransferHookLayout = void 0;
exports.getTransferHook = getTransferHook;
exports.getTransferHookAccount = getTransferHookAccount;
exports.getExtraAccountMetaAddress = getExtraAccountMetaAddress;
exports.getExtraAccountMetas = getExtraAccountMetas;
exports.resolveExtraAccountMeta = resolveExtraAccountMeta;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -32,3 +37,2 @@ const extensionType_js_1 = require("../extensionType.js");

}
exports.getTransferHook = getTransferHook;
/** Buffer layout for de/serializing a transfer hook account extension */

@@ -46,3 +50,2 @@ exports.TransferHookAccountLayout = (0, buffer_layout_1.struct)([(0, buffer_layout_utils_1.bool)('transferring')]);

}
exports.getTransferHookAccount = getTransferHookAccount;
function getExtraAccountMetaAddress(mint, programId) {

@@ -52,3 +55,2 @@ const seeds = [Buffer.from('extra-account-metas'), mint.toBuffer()];

}
exports.getExtraAccountMetaAddress = getExtraAccountMetaAddress;
/** Buffer layout for de/serializing an ExtraAccountMeta */

@@ -77,3 +79,2 @@ exports.ExtraAccountMetaLayout = (0, buffer_layout_1.struct)([

}
exports.getExtraAccountMetas = getExtraAccountMetas;
/** Take an ExtraAccountMeta and construct that into an actual AccountMeta */

@@ -105,3 +106,2 @@ function resolveExtraAccountMeta(connection, extraMeta, previousMetas, instructionData, transferHookProgramId) {

}
exports.resolveExtraAccountMeta = resolveExtraAccountMeta;
//# sourceMappingURL=state.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeAmountToUiAmountInstructionUnchecked = exports.decodeAmountToUiAmountInstruction = exports.createAmountToUiAmountInstruction = exports.amountToUiAmountInstructionData = void 0;
exports.amountToUiAmountInstructionData = void 0;
exports.createAmountToUiAmountInstruction = createAmountToUiAmountInstruction;
exports.decodeAmountToUiAmountInstruction = decodeAmountToUiAmountInstruction;
exports.decodeAmountToUiAmountInstructionUnchecked = decodeAmountToUiAmountInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -33,3 +36,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.createAmountToUiAmountInstruction = createAmountToUiAmountInstruction;
/**

@@ -61,3 +63,2 @@ * Decode a AmountToUiAmount instruction and validate it

}
exports.decodeAmountToUiAmountInstruction = decodeAmountToUiAmountInstruction;
/**

@@ -79,3 +80,2 @@ * Decode a AmountToUiAmount instruction without validating it

}
exports.decodeAmountToUiAmountInstructionUnchecked = decodeAmountToUiAmountInstructionUnchecked;
//# sourceMappingURL=amountToUiAmount.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeApproveInstructionUnchecked = exports.decodeApproveInstruction = exports.createApproveInstruction = exports.approveInstructionData = void 0;
exports.approveInstructionData = void 0;
exports.createApproveInstruction = createApproveInstruction;
exports.decodeApproveInstruction = decodeApproveInstruction;
exports.decodeApproveInstructionUnchecked = decodeApproveInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -37,3 +40,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.createApproveInstruction = createApproveInstruction;
/**

@@ -69,3 +71,2 @@ * Decode an Approve instruction and validate it

}
exports.decodeApproveInstruction = decodeApproveInstruction;
/**

@@ -90,3 +91,2 @@ * Decode an Approve instruction without validating it

}
exports.decodeApproveInstructionUnchecked = decodeApproveInstructionUnchecked;
//# sourceMappingURL=approve.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeApproveCheckedInstructionUnchecked = exports.decodeApproveCheckedInstruction = exports.createApproveCheckedInstruction = exports.approveCheckedInstructionData = void 0;
exports.approveCheckedInstructionData = void 0;
exports.createApproveCheckedInstruction = createApproveCheckedInstruction;
exports.decodeApproveCheckedInstruction = decodeApproveCheckedInstruction;
exports.decodeApproveCheckedInstructionUnchecked = decodeApproveCheckedInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -45,3 +48,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.createApproveCheckedInstruction = createApproveCheckedInstruction;
/**

@@ -78,3 +80,2 @@ * Decode an ApproveChecked instruction and validate it

}
exports.decodeApproveCheckedInstruction = decodeApproveCheckedInstruction;
/**

@@ -100,3 +101,2 @@ * Decode an ApproveChecked instruction without validating it

}
exports.decodeApproveCheckedInstructionUnchecked = decodeApproveCheckedInstructionUnchecked;
//# sourceMappingURL=approveChecked.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createRecoverNestedInstruction = exports.createAssociatedTokenAccountIdempotentInstruction = exports.createAssociatedTokenAccountInstruction = void 0;
exports.createAssociatedTokenAccountInstruction = createAssociatedTokenAccountInstruction;
exports.createAssociatedTokenAccountIdempotentInstruction = createAssociatedTokenAccountIdempotentInstruction;
exports.createRecoverNestedInstruction = createRecoverNestedInstruction;
const web3_js_1 = require("@solana/web3.js");

@@ -21,3 +23,2 @@ const constants_js_1 = require("../constants.js");

}
exports.createAssociatedTokenAccountInstruction = createAssociatedTokenAccountInstruction;
/**

@@ -38,3 +39,2 @@ * Construct a CreateAssociatedTokenAccountIdempotent instruction

}
exports.createAssociatedTokenAccountIdempotentInstruction = createAssociatedTokenAccountIdempotentInstruction;
function buildAssociatedTokenAccountInstruction(payer, associatedToken, owner, mint, instructionData, programId = constants_js_1.TOKEN_PROGRAM_ID, associatedTokenProgramId = constants_js_1.ASSOCIATED_TOKEN_PROGRAM_ID) {

@@ -85,3 +85,2 @@ const keys = [

}
exports.createRecoverNestedInstruction = createRecoverNestedInstruction;
//# sourceMappingURL=associatedTokenAccount.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeBurnInstructionUnchecked = exports.decodeBurnInstruction = exports.createBurnInstruction = exports.burnInstructionData = void 0;
exports.burnInstructionData = void 0;
exports.createBurnInstruction = createBurnInstruction;
exports.decodeBurnInstruction = decodeBurnInstruction;
exports.decodeBurnInstructionUnchecked = decodeBurnInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -37,3 +40,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.createBurnInstruction = createBurnInstruction;
/**

@@ -69,3 +71,2 @@ * Decode a Burn instruction and validate it

}
exports.decodeBurnInstruction = decodeBurnInstruction;
/**

@@ -90,3 +91,2 @@ * Decode a Burn instruction without validating it

}
exports.decodeBurnInstructionUnchecked = decodeBurnInstructionUnchecked;
//# sourceMappingURL=burn.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeBurnCheckedInstructionUnchecked = exports.decodeBurnCheckedInstruction = exports.createBurnCheckedInstruction = exports.burnCheckedInstructionData = void 0;
exports.burnCheckedInstructionData = void 0;
exports.createBurnCheckedInstruction = createBurnCheckedInstruction;
exports.decodeBurnCheckedInstruction = decodeBurnCheckedInstruction;
exports.decodeBurnCheckedInstructionUnchecked = decodeBurnCheckedInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -43,3 +46,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.createBurnCheckedInstruction = createBurnCheckedInstruction;
/**

@@ -75,3 +77,2 @@ * Decode a BurnChecked instruction and validate it

}
exports.decodeBurnCheckedInstruction = decodeBurnCheckedInstruction;
/**

@@ -96,3 +97,2 @@ * Decode a BurnChecked instruction without validating it

}
exports.decodeBurnCheckedInstructionUnchecked = decodeBurnCheckedInstructionUnchecked;
//# sourceMappingURL=burnChecked.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeCloseAccountInstructionUnchecked = exports.decodeCloseAccountInstruction = exports.createCloseAccountInstruction = exports.closeAccountInstructionData = void 0;
exports.closeAccountInstructionData = void 0;
exports.createCloseAccountInstruction = createCloseAccountInstruction;
exports.decodeCloseAccountInstruction = decodeCloseAccountInstruction;
exports.decodeCloseAccountInstructionUnchecked = decodeCloseAccountInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -32,3 +35,2 @@ const web3_js_1 = require("@solana/web3.js");

}
exports.createCloseAccountInstruction = createCloseAccountInstruction;
/**

@@ -64,3 +66,2 @@ * Decode a CloseAccount instruction and validate it

}
exports.decodeCloseAccountInstruction = decodeCloseAccountInstruction;
/**

@@ -85,3 +86,2 @@ * Decode a CloseAccount instruction without validating it

}
exports.decodeCloseAccountInstructionUnchecked = decodeCloseAccountInstructionUnchecked;
//# sourceMappingURL=closeAccount.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createCreateNativeMintInstruction = exports.createNativeMintInstructionData = void 0;
exports.createNativeMintInstructionData = void 0;
exports.createCreateNativeMintInstruction = createCreateNativeMintInstruction;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -34,3 +35,2 @@ const web3_js_1 = require("@solana/web3.js");

}
exports.createCreateNativeMintInstruction = createCreateNativeMintInstruction;
//# sourceMappingURL=createNativeMint.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.isUiamountToAmountInstruction = exports.isAmountToUiAmountInstruction = exports.isInitializeMint2Instruction = exports.isInitializeAccount3Instruction = exports.isSyncNativeInstruction = exports.isInitializeAccount2Instruction = exports.isBurnCheckedInstruction = exports.isMintToCheckedInstruction = exports.isApproveCheckedInstruction = exports.isTransferCheckedInstruction = exports.isThawAccountInstruction = exports.isFreezeAccountInstruction = exports.isCloseAccountInstruction = exports.isBurnInstruction = exports.isMintToInstruction = exports.isSetAuthorityInstruction = exports.isRevokeInstruction = exports.isApproveInstruction = exports.isTransferInstruction = exports.isInitializeMultisigInstruction = exports.isInitializeAccountInstruction = exports.isInitializeMintInstruction = exports.decodeInstruction = void 0;
exports.decodeInstruction = decodeInstruction;
exports.isInitializeMintInstruction = isInitializeMintInstruction;
exports.isInitializeAccountInstruction = isInitializeAccountInstruction;
exports.isInitializeMultisigInstruction = isInitializeMultisigInstruction;
exports.isTransferInstruction = isTransferInstruction;
exports.isApproveInstruction = isApproveInstruction;
exports.isRevokeInstruction = isRevokeInstruction;
exports.isSetAuthorityInstruction = isSetAuthorityInstruction;
exports.isMintToInstruction = isMintToInstruction;
exports.isBurnInstruction = isBurnInstruction;
exports.isCloseAccountInstruction = isCloseAccountInstruction;
exports.isFreezeAccountInstruction = isFreezeAccountInstruction;
exports.isThawAccountInstruction = isThawAccountInstruction;
exports.isTransferCheckedInstruction = isTransferCheckedInstruction;
exports.isApproveCheckedInstruction = isApproveCheckedInstruction;
exports.isMintToCheckedInstruction = isMintToCheckedInstruction;
exports.isBurnCheckedInstruction = isBurnCheckedInstruction;
exports.isInitializeAccount2Instruction = isInitializeAccount2Instruction;
exports.isSyncNativeInstruction = isSyncNativeInstruction;
exports.isInitializeAccount3Instruction = isInitializeAccount3Instruction;
exports.isInitializeMint2Instruction = isInitializeMint2Instruction;
exports.isAmountToUiAmountInstruction = isAmountToUiAmountInstruction;
exports.isUiamountToAmountInstruction = isUiamountToAmountInstruction;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -84,3 +106,2 @@ const constants_js_1 = require("../constants.js");

}
exports.decodeInstruction = decodeInstruction;
/** TODO: docs */

@@ -90,3 +111,2 @@ function isInitializeMintInstruction(decoded) {

}
exports.isInitializeMintInstruction = isInitializeMintInstruction;
/** TODO: docs */

@@ -96,3 +116,2 @@ function isInitializeAccountInstruction(decoded) {

}
exports.isInitializeAccountInstruction = isInitializeAccountInstruction;
/** TODO: docs */

@@ -102,3 +121,2 @@ function isInitializeMultisigInstruction(decoded) {

}
exports.isInitializeMultisigInstruction = isInitializeMultisigInstruction;
/** TODO: docs */

@@ -108,3 +126,2 @@ function isTransferInstruction(decoded) {

}
exports.isTransferInstruction = isTransferInstruction;
/** TODO: docs */

@@ -114,3 +131,2 @@ function isApproveInstruction(decoded) {

}
exports.isApproveInstruction = isApproveInstruction;
/** TODO: docs */

@@ -120,3 +136,2 @@ function isRevokeInstruction(decoded) {

}
exports.isRevokeInstruction = isRevokeInstruction;
/** TODO: docs */

@@ -126,3 +141,2 @@ function isSetAuthorityInstruction(decoded) {

}
exports.isSetAuthorityInstruction = isSetAuthorityInstruction;
/** TODO: docs */

@@ -132,3 +146,2 @@ function isMintToInstruction(decoded) {

}
exports.isMintToInstruction = isMintToInstruction;
/** TODO: docs */

@@ -138,3 +151,2 @@ function isBurnInstruction(decoded) {

}
exports.isBurnInstruction = isBurnInstruction;
/** TODO: docs */

@@ -144,3 +156,2 @@ function isCloseAccountInstruction(decoded) {

}
exports.isCloseAccountInstruction = isCloseAccountInstruction;
/** TODO: docs */

@@ -150,3 +161,2 @@ function isFreezeAccountInstruction(decoded) {

}
exports.isFreezeAccountInstruction = isFreezeAccountInstruction;
/** TODO: docs */

@@ -156,3 +166,2 @@ function isThawAccountInstruction(decoded) {

}
exports.isThawAccountInstruction = isThawAccountInstruction;
/** TODO: docs */

@@ -162,3 +171,2 @@ function isTransferCheckedInstruction(decoded) {

}
exports.isTransferCheckedInstruction = isTransferCheckedInstruction;
/** TODO: docs */

@@ -168,3 +176,2 @@ function isApproveCheckedInstruction(decoded) {

}
exports.isApproveCheckedInstruction = isApproveCheckedInstruction;
/** TODO: docs */

@@ -174,3 +181,2 @@ function isMintToCheckedInstruction(decoded) {

}
exports.isMintToCheckedInstruction = isMintToCheckedInstruction;
/** TODO: docs */

@@ -180,3 +186,2 @@ function isBurnCheckedInstruction(decoded) {

}
exports.isBurnCheckedInstruction = isBurnCheckedInstruction;
/** TODO: docs */

@@ -186,3 +191,2 @@ function isInitializeAccount2Instruction(decoded) {

}
exports.isInitializeAccount2Instruction = isInitializeAccount2Instruction;
/** TODO: docs */

@@ -192,3 +196,2 @@ function isSyncNativeInstruction(decoded) {

}
exports.isSyncNativeInstruction = isSyncNativeInstruction;
/** TODO: docs */

@@ -198,3 +201,2 @@ function isInitializeAccount3Instruction(decoded) {

}
exports.isInitializeAccount3Instruction = isInitializeAccount3Instruction;
/** TODO: docs, implement */

@@ -210,3 +212,2 @@ // export function isInitializeMultisig2Instruction(

}
exports.isInitializeMint2Instruction = isInitializeMint2Instruction;
/** TODO: docs */

@@ -216,3 +217,2 @@ function isAmountToUiAmountInstruction(decoded) {

}
exports.isAmountToUiAmountInstruction = isAmountToUiAmountInstruction;
/** TODO: docs */

@@ -222,3 +222,2 @@ function isUiamountToAmountInstruction(decoded) {

}
exports.isUiamountToAmountInstruction = isUiamountToAmountInstruction;
//# sourceMappingURL=decode.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeFreezeAccountInstructionUnchecked = exports.decodeFreezeAccountInstruction = exports.createFreezeAccountInstruction = exports.freezeAccountInstructionData = void 0;
exports.freezeAccountInstructionData = void 0;
exports.createFreezeAccountInstruction = createFreezeAccountInstruction;
exports.decodeFreezeAccountInstruction = decodeFreezeAccountInstruction;
exports.decodeFreezeAccountInstructionUnchecked = decodeFreezeAccountInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -32,3 +35,2 @@ const web3_js_1 = require("@solana/web3.js");

}
exports.createFreezeAccountInstruction = createFreezeAccountInstruction;
/**

@@ -64,3 +66,2 @@ * Decode a FreezeAccount instruction and validate it

}
exports.decodeFreezeAccountInstruction = decodeFreezeAccountInstruction;
/**

@@ -85,3 +86,2 @@ * Decode a FreezeAccount instruction without validating it

}
exports.decodeFreezeAccountInstructionUnchecked = decodeFreezeAccountInstructionUnchecked;
//# sourceMappingURL=freezeAccount.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeInitializeAccountInstructionUnchecked = exports.decodeInitializeAccountInstruction = exports.createInitializeAccountInstruction = exports.initializeAccountInstructionData = void 0;
exports.initializeAccountInstructionData = void 0;
exports.createInitializeAccountInstruction = createInitializeAccountInstruction;
exports.decodeInitializeAccountInstruction = decodeInitializeAccountInstruction;
exports.decodeInitializeAccountInstructionUnchecked = decodeInitializeAccountInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -32,3 +35,2 @@ const web3_js_1 = require("@solana/web3.js");

}
exports.createInitializeAccountInstruction = createInitializeAccountInstruction;
/**

@@ -64,3 +66,2 @@ * Decode an InitializeAccount instruction and validate it

}
exports.decodeInitializeAccountInstruction = decodeInitializeAccountInstruction;
/**

@@ -85,3 +86,2 @@ * Decode an InitializeAccount instruction without validating it

}
exports.decodeInitializeAccountInstructionUnchecked = decodeInitializeAccountInstructionUnchecked;
//# sourceMappingURL=initializeAccount.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeInitializeAccount2InstructionUnchecked = exports.decodeInitializeAccount2Instruction = exports.createInitializeAccount2Instruction = exports.initializeAccount2InstructionData = void 0;
exports.initializeAccount2InstructionData = void 0;
exports.createInitializeAccount2Instruction = createInitializeAccount2Instruction;
exports.decodeInitializeAccount2Instruction = decodeInitializeAccount2Instruction;
exports.decodeInitializeAccount2InstructionUnchecked = decodeInitializeAccount2InstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -34,3 +37,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.createInitializeAccount2Instruction = createInitializeAccount2Instruction;
/**

@@ -65,3 +67,2 @@ * Decode an InitializeAccount2 instruction and validate it

}
exports.decodeInitializeAccount2Instruction = decodeInitializeAccount2Instruction;
/**

@@ -85,3 +86,2 @@ * Decode an InitializeAccount2 instruction without validating it

}
exports.decodeInitializeAccount2InstructionUnchecked = decodeInitializeAccount2InstructionUnchecked;
//# sourceMappingURL=initializeAccount2.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeInitializeAccount3InstructionUnchecked = exports.decodeInitializeAccount3Instruction = exports.createInitializeAccount3Instruction = exports.initializeAccount3InstructionData = void 0;
exports.initializeAccount3InstructionData = void 0;
exports.createInitializeAccount3Instruction = createInitializeAccount3Instruction;
exports.decodeInitializeAccount3Instruction = decodeInitializeAccount3Instruction;
exports.decodeInitializeAccount3InstructionUnchecked = decodeInitializeAccount3InstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -33,3 +36,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.createInitializeAccount3Instruction = createInitializeAccount3Instruction;
/**

@@ -63,3 +65,2 @@ * Decode an InitializeAccount3 instruction and validate it

}
exports.decodeInitializeAccount3Instruction = decodeInitializeAccount3Instruction;
/**

@@ -82,3 +83,2 @@ * Decode an InitializeAccount3 instruction without validating it

}
exports.decodeInitializeAccount3InstructionUnchecked = decodeInitializeAccount3InstructionUnchecked;
//# sourceMappingURL=initializeAccount3.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeInitializeImmutableOwnerInstructionUnchecked = exports.decodeInitializeImmutableOwnerInstruction = exports.createInitializeImmutableOwnerInstruction = exports.initializeImmutableOwnerInstructionData = void 0;
exports.initializeImmutableOwnerInstructionData = void 0;
exports.createInitializeImmutableOwnerInstruction = createInitializeImmutableOwnerInstruction;
exports.decodeInitializeImmutableOwnerInstruction = decodeInitializeImmutableOwnerInstruction;
exports.decodeInitializeImmutableOwnerInstructionUnchecked = decodeInitializeImmutableOwnerInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -28,3 +31,2 @@ const web3_js_1 = require("@solana/web3.js");

}
exports.createInitializeImmutableOwnerInstruction = createInitializeImmutableOwnerInstruction;
/**

@@ -56,3 +58,2 @@ * Decode an InitializeImmutableOwner instruction and validate it

}
exports.decodeInitializeImmutableOwnerInstruction = decodeInitializeImmutableOwnerInstruction;
/**

@@ -77,3 +78,2 @@ * Decode an InitializeImmutableOwner instruction without validating it

}
exports.decodeInitializeImmutableOwnerInstructionUnchecked = decodeInitializeImmutableOwnerInstructionUnchecked;
//# sourceMappingURL=initializeImmutableOwner.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeInitializeMintInstructionUnchecked = exports.decodeInitializeMintInstruction = exports.createInitializeMintInstruction = exports.initializeMintInstructionData = void 0;
exports.initializeMintInstructionData = void 0;
exports.createInitializeMintInstruction = createInitializeMintInstruction;
exports.decodeInitializeMintInstruction = decodeInitializeMintInstruction;
exports.decodeInitializeMintInstructionUnchecked = decodeInitializeMintInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -43,3 +46,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.createInitializeMintInstruction = createInitializeMintInstruction;
/**

@@ -73,3 +75,2 @@ * Decode an InitializeMint instruction and validate it

}
exports.decodeInitializeMintInstruction = decodeInitializeMintInstruction;
/**

@@ -98,3 +99,2 @@ * Decode an InitializeMint instruction without validating it

}
exports.decodeInitializeMintInstructionUnchecked = decodeInitializeMintInstructionUnchecked;
//# sourceMappingURL=initializeMint.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeInitializeMint2InstructionUnchecked = exports.decodeInitializeMint2Instruction = exports.createInitializeMint2Instruction = exports.initializeMint2InstructionData = void 0;
exports.initializeMint2InstructionData = void 0;
exports.createInitializeMint2Instruction = createInitializeMint2Instruction;
exports.decodeInitializeMint2Instruction = decodeInitializeMint2Instruction;
exports.decodeInitializeMint2InstructionUnchecked = decodeInitializeMint2InstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -40,3 +43,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.createInitializeMint2Instruction = createInitializeMint2Instruction;
/**

@@ -68,3 +70,2 @@ * Decode an InitializeMint2 instruction and validate it

}
exports.decodeInitializeMint2Instruction = decodeInitializeMint2Instruction;
/**

@@ -92,3 +93,2 @@ * Decode an InitializeMint2 instruction without validating it

}
exports.decodeInitializeMint2InstructionUnchecked = decodeInitializeMint2InstructionUnchecked;
//# sourceMappingURL=initializeMint2.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeInitializeMintCloseAuthorityInstructionUnchecked = exports.decodeInitializeMintCloseAuthorityInstruction = exports.createInitializeMintCloseAuthorityInstruction = exports.initializeMintCloseAuthorityInstructionData = void 0;
exports.initializeMintCloseAuthorityInstructionData = void 0;
exports.createInitializeMintCloseAuthorityInstruction = createInitializeMintCloseAuthorityInstruction;
exports.decodeInitializeMintCloseAuthorityInstruction = decodeInitializeMintCloseAuthorityInstruction;
exports.decodeInitializeMintCloseAuthorityInstructionUnchecked = decodeInitializeMintCloseAuthorityInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -36,3 +39,2 @@ const web3_js_1 = require("@solana/web3.js");

}
exports.createInitializeMintCloseAuthorityInstruction = createInitializeMintCloseAuthorityInstruction;
/**

@@ -64,3 +66,2 @@ * Decode an InitializeMintCloseAuthority instruction and validate it

}
exports.decodeInitializeMintCloseAuthorityInstruction = decodeInitializeMintCloseAuthorityInstruction;
/**

@@ -86,3 +87,2 @@ * Decode an InitializeMintCloseAuthority instruction without validating it

}
exports.decodeInitializeMintCloseAuthorityInstructionUnchecked = decodeInitializeMintCloseAuthorityInstructionUnchecked;
//# sourceMappingURL=initializeMintCloseAuthority.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeInitializeMultisigInstructionUnchecked = exports.decodeInitializeMultisigInstruction = exports.createInitializeMultisigInstruction = exports.initializeMultisigInstructionData = void 0;
exports.initializeMultisigInstructionData = void 0;
exports.createInitializeMultisigInstruction = createInitializeMultisigInstruction;
exports.decodeInitializeMultisigInstruction = decodeInitializeMultisigInstruction;
exports.decodeInitializeMultisigInstructionUnchecked = decodeInitializeMultisigInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -43,3 +46,2 @@ const web3_js_1 = require("@solana/web3.js");

}
exports.createInitializeMultisigInstruction = createInitializeMultisigInstruction;
/**

@@ -74,3 +76,2 @@ * Decode an InitializeMultisig instruction and validate it

}
exports.decodeInitializeMultisigInstruction = decodeInitializeMultisigInstruction;
/**

@@ -94,3 +95,2 @@ * Decode an InitializeMultisig instruction without validating it

}
exports.decodeInitializeMultisigInstructionUnchecked = decodeInitializeMultisigInstructionUnchecked;
//# sourceMappingURL=initializeMultisig.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createInitializeNonTransferableMintInstruction = exports.initializeNonTransferableMintInstructionData = void 0;
exports.initializeNonTransferableMintInstructionData = void 0;
exports.createInitializeNonTransferableMintInstruction = createInitializeNonTransferableMintInstruction;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -32,3 +33,2 @@ const web3_js_1 = require("@solana/web3.js");

}
exports.createInitializeNonTransferableMintInstruction = createInitializeNonTransferableMintInstruction;
//# sourceMappingURL=initializeNonTransferableMint.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeInitializePermanentDelegateInstructionUnchecked = exports.decodeInitializePermanentDelegateInstruction = exports.createInitializePermanentDelegateInstruction = exports.initializePermanentDelegateInstructionData = void 0;
exports.initializePermanentDelegateInstructionData = void 0;
exports.createInitializePermanentDelegateInstruction = createInitializePermanentDelegateInstruction;
exports.decodeInitializePermanentDelegateInstruction = decodeInitializePermanentDelegateInstruction;
exports.decodeInitializePermanentDelegateInstructionUnchecked = decodeInitializePermanentDelegateInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -37,3 +40,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.createInitializePermanentDelegateInstruction = createInitializePermanentDelegateInstruction;
/**

@@ -65,3 +67,2 @@ * Decode an InitializePermanentDelegate instruction and validate it

}
exports.decodeInitializePermanentDelegateInstruction = decodeInitializePermanentDelegateInstruction;
/**

@@ -87,3 +88,2 @@ * Decode an InitializePermanentDelegate instruction without validating it

}
exports.decodeInitializePermanentDelegateInstructionUnchecked = decodeInitializePermanentDelegateInstructionUnchecked;
//# sourceMappingURL=initializePermanentDelegate.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.addSigners = void 0;
exports.addSigners = addSigners;
const web3_js_1 = require("@solana/web3.js");

@@ -22,3 +22,2 @@ /** @internal */

}
exports.addSigners = addSigners;
//# sourceMappingURL=internal.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeMintToInstructionUnchecked = exports.decodeMintToInstruction = exports.createMintToInstruction = exports.mintToInstructionData = void 0;
exports.mintToInstructionData = void 0;
exports.createMintToInstruction = createMintToInstruction;
exports.decodeMintToInstruction = decodeMintToInstruction;
exports.decodeMintToInstructionUnchecked = decodeMintToInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -37,3 +40,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.createMintToInstruction = createMintToInstruction;
/**

@@ -69,3 +71,2 @@ * Decode a MintTo instruction and validate it

}
exports.decodeMintToInstruction = decodeMintToInstruction;
/**

@@ -90,3 +91,2 @@ * Decode a MintTo instruction without validating it

}
exports.decodeMintToInstructionUnchecked = decodeMintToInstructionUnchecked;
//# sourceMappingURL=mintTo.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeMintToCheckedInstructionUnchecked = exports.decodeMintToCheckedInstruction = exports.createMintToCheckedInstruction = exports.mintToCheckedInstructionData = void 0;
exports.mintToCheckedInstructionData = void 0;
exports.createMintToCheckedInstruction = createMintToCheckedInstruction;
exports.decodeMintToCheckedInstruction = decodeMintToCheckedInstruction;
exports.decodeMintToCheckedInstructionUnchecked = decodeMintToCheckedInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -43,3 +46,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.createMintToCheckedInstruction = createMintToCheckedInstruction;
/**

@@ -75,3 +77,2 @@ * Decode a MintToChecked instruction and validate it

}
exports.decodeMintToCheckedInstruction = decodeMintToCheckedInstruction;
/**

@@ -96,3 +97,2 @@ * Decode a MintToChecked instruction without validating it

}
exports.decodeMintToCheckedInstructionUnchecked = decodeMintToCheckedInstructionUnchecked;
//# sourceMappingURL=mintToChecked.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.createReallocateInstruction = void 0;
exports.createReallocateInstruction = createReallocateInstruction;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -40,3 +40,2 @@ const web3_js_1 = require("@solana/web3.js");

}
exports.createReallocateInstruction = createReallocateInstruction;
//# sourceMappingURL=reallocate.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeRevokeInstructionUnchecked = exports.decodeRevokeInstruction = exports.createRevokeInstruction = exports.revokeInstructionData = void 0;
exports.revokeInstructionData = void 0;
exports.createRevokeInstruction = createRevokeInstruction;
exports.decodeRevokeInstruction = decodeRevokeInstruction;
exports.decodeRevokeInstructionUnchecked = decodeRevokeInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -28,3 +31,2 @@ const web3_js_1 = require("@solana/web3.js");

}
exports.createRevokeInstruction = createRevokeInstruction;
/**

@@ -59,3 +61,2 @@ * Decode a Revoke instruction and validate it

}
exports.decodeRevokeInstruction = decodeRevokeInstruction;
/**

@@ -79,3 +80,2 @@ * Decode a Revoke instruction without validating it

}
exports.decodeRevokeInstructionUnchecked = decodeRevokeInstructionUnchecked;
//# sourceMappingURL=revoke.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeSetAuthorityInstructionUnchecked = exports.decodeSetAuthorityInstruction = exports.createSetAuthorityInstruction = exports.setAuthorityInstructionData = exports.AuthorityType = void 0;
exports.setAuthorityInstructionData = exports.AuthorityType = void 0;
exports.createSetAuthorityInstruction = createSetAuthorityInstruction;
exports.decodeSetAuthorityInstruction = decodeSetAuthorityInstruction;
exports.decodeSetAuthorityInstructionUnchecked = decodeSetAuthorityInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -58,3 +61,2 @@ const web3_js_1 = require("@solana/web3.js");

}
exports.createSetAuthorityInstruction = createSetAuthorityInstruction;
/**

@@ -89,3 +91,2 @@ * Decode a SetAuthority instruction and validate it

}
exports.decodeSetAuthorityInstruction = decodeSetAuthorityInstruction;
/**

@@ -114,3 +115,2 @@ * Decode a SetAuthority instruction without validating it

}
exports.decodeSetAuthorityInstructionUnchecked = decodeSetAuthorityInstructionUnchecked;
//# sourceMappingURL=setAuthority.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeSyncNativeInstructionUnchecked = exports.decodeSyncNativeInstruction = exports.createSyncNativeInstruction = exports.syncNativeInstructionData = void 0;
exports.syncNativeInstructionData = void 0;
exports.createSyncNativeInstruction = createSyncNativeInstruction;
exports.decodeSyncNativeInstruction = decodeSyncNativeInstruction;
exports.decodeSyncNativeInstructionUnchecked = decodeSyncNativeInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -25,3 +28,2 @@ const web3_js_1 = require("@solana/web3.js");

}
exports.createSyncNativeInstruction = createSyncNativeInstruction;
/**

@@ -54,3 +56,2 @@ * Decode a SyncNative instruction and validate it

}
exports.decodeSyncNativeInstruction = decodeSyncNativeInstruction;
/**

@@ -72,3 +73,2 @@ * Decode a SyncNative instruction without validating it

}
exports.decodeSyncNativeInstructionUnchecked = decodeSyncNativeInstructionUnchecked;
//# sourceMappingURL=syncNative.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeThawAccountInstructionUnchecked = exports.decodeThawAccountInstruction = exports.createThawAccountInstruction = exports.thawAccountInstructionData = void 0;
exports.thawAccountInstructionData = void 0;
exports.createThawAccountInstruction = createThawAccountInstruction;
exports.decodeThawAccountInstruction = decodeThawAccountInstruction;
exports.decodeThawAccountInstructionUnchecked = decodeThawAccountInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -32,3 +35,2 @@ const web3_js_1 = require("@solana/web3.js");

}
exports.createThawAccountInstruction = createThawAccountInstruction;
/**

@@ -64,3 +66,2 @@ * Decode a ThawAccount instruction and validate it

}
exports.decodeThawAccountInstruction = decodeThawAccountInstruction;
/**

@@ -85,3 +86,2 @@ * Decode a ThawAccount instruction without validating it

}
exports.decodeThawAccountInstructionUnchecked = decodeThawAccountInstructionUnchecked;
//# sourceMappingURL=thawAccount.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeTransferInstructionUnchecked = exports.decodeTransferInstruction = exports.createTransferInstruction = exports.transferInstructionData = void 0;
exports.transferInstructionData = void 0;
exports.createTransferInstruction = createTransferInstruction;
exports.decodeTransferInstruction = decodeTransferInstruction;
exports.decodeTransferInstructionUnchecked = decodeTransferInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -37,3 +40,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.createTransferInstruction = createTransferInstruction;
/**

@@ -69,3 +71,2 @@ * Decode a Transfer instruction and validate it

}
exports.decodeTransferInstruction = decodeTransferInstruction;
/**

@@ -90,3 +91,2 @@ * Decode a Transfer instruction without validating it

}
exports.decodeTransferInstructionUnchecked = decodeTransferInstructionUnchecked;
//# sourceMappingURL=transfer.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeTransferCheckedInstructionUnchecked = exports.decodeTransferCheckedInstruction = exports.createTransferCheckedInstruction = exports.transferCheckedInstructionData = void 0;
exports.transferCheckedInstructionData = void 0;
exports.createTransferCheckedInstruction = createTransferCheckedInstruction;
exports.decodeTransferCheckedInstruction = decodeTransferCheckedInstruction;
exports.decodeTransferCheckedInstructionUnchecked = decodeTransferCheckedInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -45,3 +48,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.createTransferCheckedInstruction = createTransferCheckedInstruction;
/**

@@ -78,3 +80,2 @@ * Decode a TransferChecked instruction and validate it

}
exports.decodeTransferCheckedInstruction = decodeTransferCheckedInstruction;
/**

@@ -100,3 +101,2 @@ * Decode a TransferChecked instruction without validating it

}
exports.decodeTransferCheckedInstructionUnchecked = decodeTransferCheckedInstructionUnchecked;
//# sourceMappingURL=transferChecked.js.map
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.decodeUiAmountToAmountInstructionUnchecked = exports.decodeUiAmountToAmountInstruction = exports.createUiAmountToAmountInstruction = void 0;
exports.createUiAmountToAmountInstruction = createUiAmountToAmountInstruction;
exports.decodeUiAmountToAmountInstruction = decodeUiAmountToAmountInstruction;
exports.decodeUiAmountToAmountInstructionUnchecked = decodeUiAmountToAmountInstructionUnchecked;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -33,3 +35,2 @@ const web3_js_1 = require("@solana/web3.js");

}
exports.createUiAmountToAmountInstruction = createUiAmountToAmountInstruction;
/**

@@ -65,3 +66,2 @@ * Decode a UiAmountToAmount instruction and validate it

}
exports.decodeUiAmountToAmountInstruction = decodeUiAmountToAmountInstruction;
/**

@@ -87,3 +87,2 @@ * Decode a UiAmountToAmount instruction without validating it

}
exports.decodeUiAmountToAmountInstructionUnchecked = decodeUiAmountToAmountInstructionUnchecked;
//# sourceMappingURL=uiAmountToAmount.js.map

@@ -12,3 +12,8 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.unpackAccount = exports.getMinimumBalanceForRentExemptAccountWithExtensions = exports.getMinimumBalanceForRentExemptAccount = exports.getMultipleAccounts = exports.getAccount = exports.ACCOUNT_SIZE = exports.AccountLayout = exports.AccountState = void 0;
exports.ACCOUNT_SIZE = exports.AccountLayout = exports.AccountState = void 0;
exports.getAccount = getAccount;
exports.getMultipleAccounts = getMultipleAccounts;
exports.getMinimumBalanceForRentExemptAccount = getMinimumBalanceForRentExemptAccount;
exports.getMinimumBalanceForRentExemptAccountWithExtensions = getMinimumBalanceForRentExemptAccountWithExtensions;
exports.unpackAccount = unpackAccount;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -60,3 +65,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.getAccount = getAccount;
/**

@@ -78,3 +82,2 @@ * Retrieve information about multiple token accounts in a single RPC call

}
exports.getMultipleAccounts = getMultipleAccounts;
/** Get the minimum lamport balance for a base token account to be rent exempt

@@ -92,3 +95,2 @@ *

}
exports.getMinimumBalanceForRentExemptAccount = getMinimumBalanceForRentExemptAccount;
/** Get the minimum lamport balance for a rent-exempt token account with extensions

@@ -107,3 +109,2 @@ *

}
exports.getMinimumBalanceForRentExemptAccountWithExtensions = getMinimumBalanceForRentExemptAccountWithExtensions;
/**

@@ -149,3 +150,2 @@ * Unpack a token account

}
exports.unpackAccount = unpackAccount;
//# sourceMappingURL=account.js.map

@@ -12,3 +12,9 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.getAssociatedTokenAddressSync = exports.getAssociatedTokenAddress = exports.getMinimumBalanceForRentExemptMintWithExtensions = exports.getMinimumBalanceForRentExemptMint = exports.unpackMint = exports.getMint = exports.MINT_SIZE = exports.MintLayout = void 0;
exports.MINT_SIZE = exports.MintLayout = void 0;
exports.getMint = getMint;
exports.unpackMint = unpackMint;
exports.getMinimumBalanceForRentExemptMint = getMinimumBalanceForRentExemptMint;
exports.getMinimumBalanceForRentExemptMintWithExtensions = getMinimumBalanceForRentExemptMintWithExtensions;
exports.getAssociatedTokenAddress = getAssociatedTokenAddress;
exports.getAssociatedTokenAddressSync = getAssociatedTokenAddressSync;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -51,3 +57,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.getMint = getMint;
/**

@@ -90,3 +95,2 @@ * Unpack a mint

}
exports.unpackMint = unpackMint;
/** Get the minimum lamport balance for a mint to be rent exempt

@@ -104,3 +108,2 @@ *

}
exports.getMinimumBalanceForRentExemptMint = getMinimumBalanceForRentExemptMint;
/** Get the minimum lamport balance for a rent-exempt mint with extensions

@@ -120,3 +123,2 @@ *

}
exports.getMinimumBalanceForRentExemptMintWithExtensions = getMinimumBalanceForRentExemptMintWithExtensions;
/**

@@ -142,3 +144,2 @@ * Async version of getAssociatedTokenAddressSync

}
exports.getAssociatedTokenAddress = getAssociatedTokenAddress;
/**

@@ -161,3 +162,2 @@ * Get the address of the associated token account for a given mint and owner

}
exports.getAssociatedTokenAddressSync = getAssociatedTokenAddressSync;
//# sourceMappingURL=mint.js.map

@@ -12,3 +12,6 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
exports.getMinimumBalanceForRentExemptMultisig = exports.unpackMultisig = exports.getMultisig = exports.MULTISIG_SIZE = exports.MultisigLayout = void 0;
exports.MULTISIG_SIZE = exports.MultisigLayout = void 0;
exports.getMultisig = getMultisig;
exports.unpackMultisig = unpackMultisig;
exports.getMinimumBalanceForRentExemptMultisig = getMinimumBalanceForRentExemptMultisig;
const buffer_layout_1 = require("@solana/buffer-layout");

@@ -53,3 +56,2 @@ const buffer_layout_utils_1 = require("@solana/buffer-layout-utils");

}
exports.getMultisig = getMultisig;
/**

@@ -74,3 +76,2 @@ * Unpack a multisig

}
exports.unpackMultisig = unpackMultisig;
/** Get the minimum lamport balance for a multisig to be rent exempt

@@ -88,3 +89,2 @@ *

}
exports.getMinimumBalanceForRentExemptMultisig = getMinimumBalanceForRentExemptMultisig;
//# sourceMappingURL=multisig.js.map

@@ -1,2 +0,1 @@

/// <reference types="node" />
import type { AccountInfo, PublicKey } from '@solana/web3.js';

@@ -3,0 +2,0 @@ import type { Mint } from '../state/mint.js';

@@ -1,4 +0,3 @@

/// <reference types="node" />
import type { AccountMeta, Connection } from '@solana/web3.js';
export declare function unpackSeeds(seeds: Uint8Array, previousMetas: AccountMeta[], instructionData: Buffer, connection: Connection): Promise<Buffer[]>;
//# sourceMappingURL=seeds.d.ts.map

@@ -1,2 +0,1 @@

/// <reference types="node" />
import type { Mint } from '../../state/mint.js';

@@ -3,0 +2,0 @@ import type { AccountInfo, AccountMeta, Connection } from '@solana/web3.js';

@@ -1,2 +0,1 @@

/// <reference types="node" />
import type { AccountInfo, Commitment, Connection, PublicKey } from '@solana/web3.js';

@@ -3,0 +2,0 @@ import type { ExtensionType } from '../extensions/extensionType.js';

@@ -1,2 +0,1 @@

/// <reference types="node" />
import type { AccountInfo, Commitment, Connection } from '@solana/web3.js';

@@ -3,0 +2,0 @@ import { PublicKey } from '@solana/web3.js';

@@ -1,2 +0,1 @@

/// <reference types="node" />
import type { AccountInfo, Commitment, Connection, PublicKey } from '@solana/web3.js';

@@ -3,0 +2,0 @@ /** Information about a multisig */

{
"name": "@solana/spl-token",
"description": "SPL Token Program JS API",
"version": "0.4.7",
"version": "0.4.8",
"author": "Solana Labs Maintainers <maintainers@solanalabs.com>",

@@ -31,3 +31,3 @@ "repository": "https://github.com/solana-labs/solana-program-library",

"peerDependencies": {
"@solana/web3.js": "^1.93.1"
"@solana/web3.js": "^1.94.0"
},

@@ -37,3 +37,3 @@ "dependencies": {

"@solana/buffer-layout-utils": "^0.2.0",
"@solana/spl-token-group": "^0.0.3",
"@solana/spl-token-group": "^0.0.5",
"@solana/spl-token-metadata": "^0.1.3",

@@ -43,12 +43,12 @@ "buffer": "^6.0.3"

"devDependencies": {
"@solana/codecs-strings": "2.0.0-preview.3",
"@solana/codecs-strings": "2.0.0-preview.4",
"@solana/spl-memo": "0.2.4",
"@solana/web3.js": "^1.93.1",
"@solana/web3.js": "^1.94.0",
"@types/chai-as-promised": "^7.1.4",
"@types/chai": "^4.3.16",
"@types/mocha": "^10.0.7",
"@types/node": "^20.14.8",
"@types/node": "^20.14.10",
"@types/node-fetch": "^2.6.11",
"@typescript-eslint/eslint-plugin": "^7.13.1",
"@typescript-eslint/parser": "^7.13.1",
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"chai": "^5.1.1",

@@ -61,3 +61,3 @@ "chai-as-promised": "^8.0.0",

"gh-pages": "^6.1.1",
"mocha": "^10.4.0",
"mocha": "^10.6.0",
"prettier": "^3.3.2",

@@ -68,4 +68,4 @@ "process": "^0.11.10",

"ts-node": "^10.9.2",
"typedoc": "^0.26.2",
"typescript": "^5.5.2"
"typedoc": "^0.26.3",
"typescript": "^5.5.3"
},

@@ -72,0 +72,0 @@ "scripts": {

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc