PHP WebShell
Текущая директория: /opt/BitGoJS/modules/sdk-coin-sol/dist/src/lib
Просмотр файла: constants.d.ts
import { ValidInstructionTypes } from './iface';
export declare const MEMO_PROGRAM_PK = "MemoSq4gqABAXKb96qnH8TysNcWxMyWCqXgDLGmfcHr";
export declare const SEED_LENGTH = 32;
export declare const MAX_MEMO_LENGTH = 130;
export declare const STAKE_ACCOUNT_RENT_EXEMPT_AMOUNT = 2282880;
export declare const UNAVAILABLE_TEXT = "UNAVAILABLE";
export declare enum ValidInstructionTypesEnum {
AdvanceNonceAccount = "AdvanceNonceAccount",
Create = "Create",
InitializeNonceAccount = "InitializeNonceAccount",
StakingInitialize = "Initialize",
StakingDelegate = "Delegate",
StakingDeactivate = "Deactivate",
StakingWithdraw = "Withdraw",
Transfer = "Transfer",
TokenTransfer = "TokenTransfer",
Memo = "Memo",
InitializeAssociatedTokenAccount = "InitializeAssociatedTokenAccount",
CloseAssociatedTokenAccount = "CloseAssociatedTokenAccount",
Allocate = "Allocate",
Assign = "Assign",
Split = "Split",
Authorize = "Authorize",
SetPriorityFee = "SetPriorityFee"
}
export declare enum InstructionBuilderTypes {
CreateNonceAccount = "CreateNonceAccount",
StakingActivate = "Activate",
StakingDeactivate = "Deactivate",
StakingWithdraw = "Withdraw",
Transfer = "Transfer",
Memo = "Memo",
NonceAdvance = "NonceAdvance",
CreateAssociatedTokenAccount = "CreateAssociatedTokenAccount",
CloseAssociatedTokenAccount = "CloseAssociatedTokenAccount",
TokenTransfer = "TokenTransfer",
StakingAuthorize = "Authorize",
StakingDelegate = "Delegate",
SetPriorityFee = "SetPriorityFee"
}
export declare const VALID_SYSTEM_INSTRUCTION_TYPES: ValidInstructionTypes[];
/** Const to check the order of the Wallet Init instructions when decode */
export declare const walletInitInstructionIndexes: {
readonly Create: 0;
readonly InitializeNonceAccount: 1;
readonly Memo: 2;
};
/** Const to check the order of the Staking Activate instructions when decode */
export declare const stakingActivateInstructionsIndexes: {
readonly Create: 0;
readonly Initialize: 1;
readonly Delegate: 2;
readonly Memo: 3;
};
/** Const to check the order of the Marinade Staking Activate instructions when decode */
export declare const marinadeStakingActivateInstructionsIndexes: {
readonly Create: 0;
readonly Initialize: 1;
readonly Memo: 2;
};
/** Const to check the order of the Staking Authorize instructions when decode */
export declare const stakingAuthorizeInstructionsIndexes: {
readonly Authorize: 0;
};
/** Const to check the order of the Staking Delegate instructions when decode */
export declare const stakingDelegateInstructionsIndexes: {
readonly Delegate: 0;
};
/** Const to check the order of the Staking Deactivate instructions when decode */
export declare const stakingDeactivateInstructionsIndexes: {
readonly Deactivate: 0;
readonly Memo: 1;
};
/** Const to check the order of the Marinade Staking Deactivate instructions when decode */
export declare const marinadeStakingDeactivateInstructionsIndexes: {
readonly Transfer: 0;
readonly Memo: 1;
};
/** Const to check the order of the Partial Staking Deactivate instructions when decoded */
export declare const stakingPartialDeactivateInstructionsIndexes: {
readonly Transfer: 0;
readonly Allocate: 1;
readonly Assign: 2;
readonly Split: 3;
readonly Deactivate: 4;
readonly Memo: 5;
};
/** Const to check the order of the Staking Withdraw instructions when decode */
export declare const stakingWithdrawInstructionsIndexes: {
readonly Withdraw: 0;
readonly Memo: 1;
};
/** Const to check the order of the ATA init instructions when decode */
export declare const ataInitInstructionIndexes: {
readonly InitializeAssociatedTokenAccount: 0;
readonly Memo: 1;
};
/** Const to check the order of the ATA init instructions when decode */
export declare const ataCloseInstructionIndexes: {
readonly CloseAssociatedTokenAccount: 0;
};
export declare const nonceAdvanceInstruction = "AdvanceNonceAccount";
export declare const validInstructionData = "0a00000001000000";
export declare const validInstructionData2 = "0a00000000000000";
//# sourceMappingURL=constants.d.ts.mapВыполнить команду
Для локальной разработки. Не используйте в интернете!