// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;

/**
 * @title Chain2138TestnetConfig
 * @notice Configuration constants for Chain ID 2138 (Defi Oracle Meta Testnet) tests.
 * @dev Mirror of Chain138Config pattern; override RPC via env in off-chain runners.
 */
library Chain2138TestnetConfig {
    uint256 public constant CHAIN_ID = 2138;
    string public constant NETWORK_NAME = "Defi Oracle Meta Testnet";
    /// @dev Default public RPC from pr-workspace/chains/_data/chains/eip155-2138.json; use LAN/staging in CI as needed.
    string public constant RPC_URL = "https://rpc.public-2138.defi-oracle.io";
    string public constant EXPLORER_URL = "https://public-2138.defi-oracle.io";

    uint256 public constant GAS_LIMIT = 8_000_000;
    uint256 public constant GAS_PRICE = 1_000_000_000; // 1 gwei
    uint256 public constant BLOCK_TIME = 2; // seconds (typical QBFT; confirm on live testnet)
    uint256 public constant CONFIRMATIONS = 1;

    address public constant TEST_ADMIN = address(0x1);
    address public constant TEST_USER1 = address(0x2);
    address public constant TEST_USER2 = address(0x3);
    address public constant TEST_MULTISIG = address(0x4);
}
