29 lines
1004 B
Solidity
29 lines
1004 B
Solidity
|
|
// SPDX-License-Identifier: MIT
|
||
|
|
pragma solidity ^0.8.20;
|
||
|
|
|
||
|
|
/**
|
||
|
|
* @title Chain138Config
|
||
|
|
* @notice Configuration constants for ChainID 138 (DeFi Oracle Meta Mainnet) tests
|
||
|
|
*/
|
||
|
|
library Chain138Config {
|
||
|
|
uint256 public constant CHAIN_ID = 138;
|
||
|
|
string public constant NETWORK_NAME = "DeFi Oracle Meta Mainnet";
|
||
|
|
string public constant RPC_URL = "${RPC_URL_138:-http://localhost:8545}";
|
||
|
|
string public constant EXPLORER_URL = "https://explorer.d-bis.org";
|
||
|
|
|
||
|
|
// Gas configuration
|
||
|
|
uint256 public constant GAS_LIMIT = 8_000_000;
|
||
|
|
uint256 public constant GAS_PRICE = 1_000_000_000; // 1 gwei
|
||
|
|
|
||
|
|
// Block configuration
|
||
|
|
uint256 public constant BLOCK_TIME = 2; // seconds
|
||
|
|
uint256 public constant CONFIRMATIONS = 1;
|
||
|
|
|
||
|
|
// Test accounts (for local testing)
|
||
|
|
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);
|
||
|
|
}
|
||
|
|
|