UNPKG

@debridge-finance/solana-utils

Version:

Common utils package to power communication with Solana contracts at deBridge

69 lines 1.94 kB
export declare const BPS_DENOMINATOR = 10000; export declare const SOLANA_CHAIN_ID = 7565164; export declare const MAX_TX_SIZE = 1232; export declare const FAKE_BLOCKHASH: string; export declare const DEPLOY_INFO_PREFIX = 2; export declare const SUBMISSION_PREFIX = 1; export declare const deBridge: { Seeds: { STATE: string; BRIDGE: string; WRAPPER_TOKEN: string; SEND_BRIDGE_MAP: string; BRIDGE_MINTER: string; CHAIN_SUPPORT_INFO: string; BRIDGE_FEE_INFO: string; DISCOUNT_INFO: string; ORACLE_KEYS: string; EXTERNAL_CALL_STORAGE: string; EXTERNAL_CALL_META: string; NONCE: string; SUBMISSION: string; SUBMISSION_AUTH: string; NO_DISCOUNT: string; CLAIM_MARKER: string; }; Flags: { UNWRAP_ETH: number; REVERT_IF_EXTERNAL_FAIL: number; PROXY_WITH_SENDER: number; SEND_HASHED_DATA: number; SEND_TO_ATA: number; }; }; export declare const deBridgeSettings: { Seeds: { TOKEN_METADATA: string; WRAPPER_TOKEN: string; STATE: string; CONFIRMATION_STORAGE: string; BRIDGE_FEE_INFO: string; CHAIN_SUPPORT_INFO: string; DISCOUNT_INFO: string; BRIDGE: string; NO_BRIDGE_FEE_INFO: string; NO_DISCOUNT: string; SEND_BRIDGE_MAP: string; }; }; export declare const dlnSrc: { Seeds: { STATE: string; NONCE: string; ORDER_STATE: string; AUTHORIZED_NATIVE_SENDER: string; GIVE_ORDER_WALLET: string; FEE_LEDGER_WALLET: string; FEE_LEDGER: string; }; }; export declare const dlnDst: { Seeds: { AUTHORIZED_SRC_CONTRACT: string; AUTHORIZED_DST_NATIVE_SENDER: string; ORDER_STATE: string; TAKE_PATCH: string; STATE: string; }; }; //# sourceMappingURL=constants.d.ts.map