@robertprp/intents-sdk
Version:
Shogun Network Intent-based cross-chain swaps SDK
41 lines • 2.75 kB
TypeScript
import { type Address as SolanaAddress } from '@solana/kit';
import type { Address, Hex } from 'viem';
import type { SupportedChain, SupportedEvmChain, SupportedSuiChain } from './chains.js';
import { ChainID } from './chains.js';
export declare enum OrderType {
CROSS_CHAIN_LIMIT = "CROSS_CHAIN_LIMIT",
SINGLE_CHAIN_LIMIT = "SINGLE_CHAIN_LIMIT"
}
export declare const PERMIT2_ADDRESS: Record<SupportedEvmChain, Address>;
export declare const PROD_CROSS_CHAIN_GUARD_ADDRESSES: Record<SupportedChain, SolanaAddress | Hex>;
export declare const TEST_CROSS_CHAIN_GUARD_ADDRESSES: Record<SupportedChain, SolanaAddress | Hex>;
export declare const PROD_SINGLE_CHAIN_GUARD_ADDRESSES: Record<Exclude<ChainID, SupportedSuiChain>, SolanaAddress | Hex>;
export declare const TEST_SINGLE_CHAIN_GUARD_ADDRESSES: Record<Exclude<ChainID, SupportedSuiChain>, SolanaAddress | Hex>;
export declare const CROSS_CHAIN_GUARD_ADDRESSES: Record<SupportedChain, `0x${string}` | SolanaAddress>;
export declare const SINGLE_CHAIN_GUARD_ADDRESSES: Record<ChainID.Arbitrum | ChainID.Optimism | ChainID.Base | ChainID.Hyperliquid | ChainID.Solana, `0x${string}` | SolanaAddress>;
export declare const NATIVE_SOLANA_TOKEN_ADDRESS: SolanaAddress<"So11111111111111111111111111111111111111111">;
export declare const WRAPPED_SOL_MINT_ADDRESS: SolanaAddress<"So11111111111111111111111111111111111111112">;
type SolanaMint = {
name: string;
mint: string;
decimals: number;
};
export declare const SOLANA_USDC_MINT: SolanaMint;
export declare const SOLANA_USDT_MINT: SolanaMint;
export declare const SOLANA_MINT_TOKEN: SolanaMint;
export declare const PROD_SUI_PACKAGE_ID = "0x9c0c9b7f5ddf7efbde76571783ef4a8a26b36ae5c2ef2eeba8fbc604a29cb195";
export declare const TEST_SUI_PACKAGE_ID = "0x6273e29f803ff5851f89ec17d40d5b1f367476e1677ad0a52ca408f64c4473fe";
export declare const SUI_PACKAGE_ID: string;
export declare const SUI_GUARD_COLLATERAL_TYPE = "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC";
export declare const SUI_GUARD_STABLECOIN_TYPE = "0xdba34672e30cb065b1f93e3ab55318768fd6fef66c15942c9f7cb846e2f900e7::usdc::USDC";
export declare const AUCTIONEER_URL: string;
export declare const MAX_UINT_32: bigint;
export declare const MAX_UINT_64: bigint;
export declare const MAX_UINT_128: bigint;
export declare const MAX_UINT_256: bigint;
export declare const NATIVE_EVM_ETH_ADDRESSES: string[];
export declare const WRAPPED_ETH_ADDRESSES: Record<SupportedEvmChain, Address>;
export declare const NATIVE_SUI_TOKEN_ADDRESS = "0x0000000000000000000000000000000000000000000000000000000000000002::sui::SUI";
export declare function isNativeEvmToken(tokenAddress: string): boolean;
export {};
//# sourceMappingURL=constants.d.ts.map