Files
proxmox/scripts/check-bridge-status.sh
defiQUG cb47cce074 Complete markdown files cleanup and organization
- Organized 252 files across project
- Root directory: 187 → 2 files (98.9% reduction)
- Moved configuration guides to docs/04-configuration/
- Moved troubleshooting guides to docs/09-troubleshooting/
- Moved quick start guides to docs/01-getting-started/
- Moved reports to reports/ directory
- Archived temporary files
- Generated comprehensive reports and documentation
- Created maintenance scripts and guides

All files organized according to established standards.
2026-01-06 01:46:25 -08:00

10 lines
614 B
Bash
Executable File

#!/usr/bin/env bash
# Quick bridge status check
source /home/intlc/projects/smom-dbis-138/.env
RPC_URL="${RPC_URL_138:-http://192.168.11.250:8545}"
DEPLOYER=$(cast wallet address --private-key "$PRIVATE_KEY" 2>/dev/null)
echo "=== Bridge Status ==="
echo "WETH9 Allowance: $(cast call 0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2 'allowance(address,address)' $DEPLOYER 0x89dd12025bfCD38A168455A44B400e913ED33BE2 --rpc-url $RPC_URL)"
echo "WETH10 Allowance: $(cast call 0xf4BB2e28688e89fCcE3c0580D37d36A7672E8A9f 'allowance(address,address)' $DEPLOYER 0xe0E93247376aa097dB308B92e6Ba36bA015535D0 --rpc-url $RPC_URL)"