- 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.
32 lines
694 B
Bash
Executable File
32 lines
694 B
Bash
Executable File
#!/bin/bash
|
|
# Complete Reserve System Setup Script
|
|
# Sets up price feeds and configures initial reserves
|
|
|
|
set -e
|
|
|
|
echo "=== Complete Reserve System Setup ==="
|
|
echo ""
|
|
|
|
# Load environment variables
|
|
if [ -f .env ]; then
|
|
source .env
|
|
fi
|
|
|
|
# Step 1: Setup Price Feeds
|
|
echo "Step 1: Setting up price feeds..."
|
|
forge script script/reserve/SetupPriceFeeds.s.sol:SetupPriceFeeds \
|
|
--rpc-url chain138 \
|
|
--broadcast \
|
|
--verify
|
|
|
|
echo ""
|
|
echo "Step 2: Configuring initial reserves..."
|
|
forge script script/reserve/ConfigureInitialReserves.s.sol:ConfigureInitialReserves \
|
|
--rpc-url chain138 \
|
|
--broadcast
|
|
|
|
echo ""
|
|
echo "=== Setup Complete ==="
|
|
echo "Reserve System is now ready for operations"
|
|
|