UNPKG

@mean-dao/payment-streaming

Version:
31 lines (30 loc) 1.5 kB
import { PublicKey, SYSVAR_RENT_PUBKEY } from '@solana/web3.js'; import { TOKEN_PROGRAM_ID, ASSOCIATED_TOKEN_PROGRAM_ID } from '@solana/spl-token'; /** Address of the Payment Streaming program in mainnet */ export declare const PAYMENT_STREAMING_PROGRAM_ID: PublicKey; /** Address of the Payment Streaming program in devnet */ export declare const PAYMENT_STREAMING_PROGRAM_ID_DEVNET: PublicKey; export declare const FEE_ACCOUNT: PublicKey; export declare const CLIFF_PERCENT_NUMERATOR = 10000; export declare const CLIFF_PERCENT_DENOMINATOR = 1000000; /** * Dummy account used to configure the Anchor wallet in order to use * program getters by parsing the logs of a simulation. This account * needs to exist in the blockchain (i.e. needs to have SOL balance) * to avoid a SimulateError (AccountNotFound). No signing is done with * this account. */ export declare const SIMULATION_PUBKEY: PublicKey; /** Internal convention to identify the intention to use NATIVE sol and not SPL wSOL */ export declare const NATIVE_SOL_MINT: PublicKey; export declare const NATIVE_WSOL_MINT: PublicKey; /** Current version number that needs to be set as argument when creating any * transaction of the Payment Streaming program */ export declare const LATEST_IDL_FILE_VERSION = 5; export declare enum WARNING_TYPES { NO_WARNING = 0, INVALID_ADDRESS = 1, WARNING = 2 } export declare const SYSTEM_PROGRAM_ID: PublicKey; export { TOKEN_PROGRAM_ID, ASSOCIATED_TOKEN_PROGRAM_ID, SYSVAR_RENT_PUBKEY };