import { ChainConfig } from './types.mjs'; /** * Veridex Protocol SDK - Constants and Chain Configurations */ declare const ACTION_TYPES: { readonly TRANSFER: 1; readonly EXECUTE: 2; readonly CONFIG: 3; readonly BRIDGE: 4; }; declare const ACTION_TRANSFER = 1; declare const ACTION_EXECUTE = 2; declare const ACTION_CONFIG = 3; declare const ACTION_BRIDGE = 4; declare const PROTOCOL_VERSION = 1; /** * Wormhole Chain IDs organized by network * @see https://docs.wormhole.com/wormhole/reference/constants */ declare const WORMHOLE_CHAIN_IDS: { readonly MAINNET: { readonly SOLANA: 1; readonly ETHEREUM: 2; readonly TERRA: 3; readonly BSC: 4; readonly POLYGON: 5; readonly AVALANCHE: 6; readonly OASIS: 7; readonly ALGORAND: 8; readonly AURORA: 9; readonly FANTOM: 10; readonly KARURA: 11; readonly ACALA: 12; readonly KLAYTN: 13; readonly CELO: 14; readonly NEAR: 15; readonly MOONBEAM: 16; readonly NEON: 17; readonly TERRA2: 18; readonly INJECTIVE: 19; readonly OSMOSIS: 20; readonly SUI: 21; readonly APTOS: 22; readonly ARBITRUM: 23; readonly OPTIMISM: 24; readonly GNOSIS: 25; readonly PYTHNET: 26; readonly XPLA: 28; readonly BASE: 30; readonly SEI: 32; readonly ROOTSTOCK: 33; readonly SCROLL: 34; readonly MANTLE: 35; readonly BLAST: 36; readonly XLAYER: 37; readonly LINEA: 38; readonly BERACHAIN: 39; readonly SEIEVM: 40; }; readonly TESTNET: { readonly SOLANA_DEVNET: 1; readonly GOERLI: 2; readonly BSC_TESTNET: 4; readonly POLYGON_AMOY: 10007; readonly AVALANCHE_FUJI: 6; readonly FANTOM_TESTNET: 10; readonly CELO_ALFAJORES: 14; readonly MOONBASE_ALPHA: 16; readonly SUI_TESTNET: 21; readonly APTOS_TESTNET: 22; readonly SEPOLIA: 10002; readonly ARBITRUM_SEPOLIA: 10003; readonly BASE_SEPOLIA: 10004; readonly OPTIMISM_SEPOLIA: 10005; readonly HOLESKY: 10006; readonly POLYGON_SEPOLIA: 10007; readonly SEI_ATLANTIC_2: 10066; readonly STARKNET_SEPOLIA: 50001; }; }; declare const WORMHOLE_CHAIN_IDS_FLAT: { readonly SOLANA: 1; readonly ETHEREUM: 2; readonly TERRA: 3; readonly BSC: 4; readonly POLYGON: 5; readonly AVALANCHE: 6; readonly OASIS: 7; readonly ALGORAND: 8; readonly AURORA: 9; readonly FANTOM: 10; readonly KARURA: 11; readonly ACALA: 12; readonly KLAYTN: 13; readonly CELO: 14; readonly NEAR: 15; readonly MOONBEAM: 16; readonly NEON: 17; readonly TERRA2: 18; readonly INJECTIVE: 19; readonly OSMOSIS: 20; readonly SUI: 21; readonly APTOS: 22; readonly ARBITRUM: 23; readonly OPTIMISM: 24; readonly GNOSIS: 25; readonly PYTHNET: 26; readonly XPLA: 28; readonly BASE: 30; readonly SEI: 32; readonly ROOTSTOCK: 33; readonly SCROLL: 34; readonly MANTLE: 35; readonly BLAST: 36; readonly XLAYER: 37; readonly LINEA: 38; readonly BERACHAIN: 39; readonly SEIEVM: 40; readonly SOLANA_DEVNET: 1; readonly GOERLI: 2; readonly BSC_TESTNET: 4; readonly POLYGON_AMOY: 10007; readonly AVALANCHE_FUJI: 6; readonly FANTOM_TESTNET: 10; readonly CELO_ALFAJORES: 14; readonly MOONBASE_ALPHA: 16; readonly SUI_TESTNET: 21; readonly APTOS_TESTNET: 22; readonly ARBITRUM_SEPOLIA: 10003; readonly BASE_SEPOLIA: 10004; readonly OPTIMISM_SEPOLIA: 10005; readonly POLYGON_SEPOLIA: 10007; readonly HOLESKY: 10006; readonly STARKNET_SEPOLIA: 50001; }; declare const TESTNET_CHAINS: Record; declare const MAINNET_CHAINS: Record; declare const WORMHOLE_API: { readonly MAINNET: "https://api.wormholescan.io"; readonly TESTNET: "https://api.testnet.wormholescan.io"; readonly GUARDIAN_RPC_MAINNET: "https://wormhole-v2-mainnet-api.certus.one"; readonly GUARDIAN_RPC_TESTNET: "https://wormhole-v2-testnet-api.certus.one"; }; declare const HUB_ABI: readonly ["function authenticateAndDispatch((bytes authenticatorData, string clientDataJSON, uint256 challengeIndex, uint256 typeIndex, uint256 r, uint256 s) auth, uint256 publicKeyX, uint256 publicKeyY, uint16 targetChain, bytes actionPayload) external payable returns (uint64 sequence)", "function authenticateRawAndDispatch(uint256 r, uint256 s, bytes32 messageHash, uint256 publicKeyX, uint256 publicKeyY, uint16 targetChain, bytes actionPayload, uint256 nonce) external payable returns (uint64 sequence)", "function userNonces(bytes32 userKeyHash) external view returns (uint256)", "function encodeTransferAction(address token, address recipient, uint256 amount) external pure returns (bytes)", "function encodeExecuteAction(address target, uint256 value, bytes data) external pure returns (bytes)", "function encodeBridgeAction(bytes32 token, uint256 amount, uint16 targetChain, bytes32 recipient) external pure returns (bytes)", "function messageFee() external view returns (uint256)", "event Dispatched(bytes32 indexed userKeyHash, uint16 targetChain, uint256 nonce, uint64 sequence, bytes actionPayload)"]; declare const VAULT_FACTORY_ABI: readonly ["function createVault(bytes32 userKeyHash) external returns (address)", "function getVault(bytes32 userKeyHash) external view returns (address)", "function vaultExists(bytes32 userKeyHash) external view returns (bool)", "event VaultCreated(bytes32 indexed userKeyHash, address vault)"]; declare const VAULT_ABI: readonly ["function execute(address target, uint256 value, bytes data) external returns (bytes)", "function executeFromHub(bytes32 vaaHash, uint16 emitterChain, bytes32 emitterAddress, bytes payload) external", "function owner() external view returns (bytes32)", "function hub() external view returns (address)", "receive() external payable"]; export { ACTION_BRIDGE, ACTION_CONFIG, ACTION_EXECUTE, ACTION_TRANSFER, ACTION_TYPES, HUB_ABI, MAINNET_CHAINS, PROTOCOL_VERSION, TESTNET_CHAINS, VAULT_ABI, VAULT_FACTORY_ABI, WORMHOLE_API, WORMHOLE_CHAIN_IDS, WORMHOLE_CHAIN_IDS_FLAT };