- Introduced Aggregator.sol for Chainlink-compatible oracle functionality, including round-based updates and access control. - Added OracleWithCCIP.sol to extend Aggregator with CCIP cross-chain messaging capabilities. - Created .gitmodules to include OpenZeppelin contracts as a submodule. - Developed a comprehensive deployment guide in NEXT_STEPS_COMPLETE_GUIDE.md for Phase 2 and smart contract deployment. - Implemented Vite configuration for the orchestration portal, supporting both Vue and React frameworks. - Added server-side logic for the Multi-Cloud Orchestration Portal, including API endpoints for environment management and monitoring. - Created scripts for resource import and usage validation across non-US regions. - Added tests for CCIP error handling and integration to ensure robust functionality. - Included various new files and directories for the orchestration portal and deployment scripts.
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);
|
|
}
|
|
|