UNPKG

@coolwallet/sol

Version:
89 lines (88 loc) 3.02 kB
declare const SCRIPT: { TRANSFER: { script: string; signature: string; readonly scriptWithSignature: string; }; TRANSFER_WITH_COMPUTE_BUDGET: { script: string; signature: string; readonly scriptWithSignature: string; }; SMART_CONTRACT: { script: string; signature: string; readonly scriptWithSignature: string; }; SPL_TOKEN: { script: string; signature: string; readonly scriptWithSignature: string; }; SPL_TOKEN_WITH_COMPUTE_BUDGET: { script: string; signature: string; readonly scriptWithSignature: string; }; CREATE_AND_SPL_TOKEN: { script: string; signature: string; readonly scriptWithSignature: string; }; CREATE_AND_SPL_TOKEN_WITH_COMPUTE_BUDGET: { script: string; signature: string; readonly scriptWithSignature: string; }; UNDELEGATE: { script: string; signature: string; readonly scriptWithSignature: string; }; DELEGATE_AND_CREATE_ACCOUNT_WITH_SEED: { script: string; signature: string; readonly scriptWithSignature: string; }; STAKING_WITHDRAW: { script: string; signature: string; readonly scriptWithSignature: string; }; SIGN_IN: { script: string; signature: string; readonly scriptWithSignature: string; }; SIGN_MESSAGE: { script: string; signature: string; readonly scriptWithSignature: string; }; MULTI_SIGN_TX: { script: string; signature: string; readonly scriptWithSignature: string; }; }; declare const COIN_TYPE = "800001f5"; declare const LAMPORTS_PER_SOL = 1000000000; declare const SYSTEM_PROGRAM_ID: Buffer<ArrayBufferLike>; declare const TOKEN_PROGRAM_ID: Buffer<ArrayBufferLike>; declare const TOKEN_2022_PROGRAM_ID: Buffer<ArrayBufferLike>; declare const ASSOCIATED_TOKEN_PROGRAM_ID: Buffer<ArrayBufferLike>; declare const STAKE_PROGRAM_ID: Buffer<ArrayBufferLike>; declare const STAKE_CONFIG_ID: Buffer<ArrayBufferLike>; declare const SYSVAR_RENT_PUBKEY: Buffer<ArrayBufferLike>; declare const SYSVAR_CLOCK_PUBKEY: Buffer<ArrayBufferLike>; declare const SYSVAR_STAKE_HISTORY_PUBKEY: Buffer<ArrayBufferLike>; declare const COMPUTE_BUDGET_PROGRAM_ID: Buffer<ArrayBufferLike>; declare const PADDING_PUBLICKEY: string; declare const PACKET_DATA_SIZE: number; declare const VERSION_PREFIX_MASK = 127; export declare const SIGNATURE_LENGTH_IN_BYTES = 64; /** * Size of public key in bytes */ declare const PUBLIC_KEY_LENGTH = 32; export { SCRIPT, COIN_TYPE, LAMPORTS_PER_SOL, SYSTEM_PROGRAM_ID, TOKEN_PROGRAM_ID, TOKEN_2022_PROGRAM_ID, STAKE_PROGRAM_ID, STAKE_CONFIG_ID, ASSOCIATED_TOKEN_PROGRAM_ID, SYSVAR_RENT_PUBKEY, SYSVAR_CLOCK_PUBKEY, SYSVAR_STAKE_HISTORY_PUBKEY, COMPUTE_BUDGET_PROGRAM_ID, PADDING_PUBLICKEY, PACKET_DATA_SIZE, VERSION_PREFIX_MASK, PUBLIC_KEY_LENGTH, };