322 lines
7.6 KiB
Markdown
322 lines
7.6 KiB
Markdown
|
|
# Comprehensive Funding Report
|
||
|
|
|
||
|
|
**Date**: 2025-01-12
|
||
|
|
**Account**: `0x4A666F96fC8764181194447A7dFdb7d471b301C8`
|
||
|
|
**Network**: ChainID 138
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Current Token Prices
|
||
|
|
|
||
|
|
| Token | Price (USD) | Source |
|
||
|
|
|-------|-------------|--------|
|
||
|
|
| **ETH** | $2,920.82 | CoinGecko API |
|
||
|
|
| **LINK** | $12.15 | CoinGecko API |
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Account Balances
|
||
|
|
|
||
|
|
### Address: `0x4A666F96fC8764181194447A7dFdb7d471b301C8`
|
||
|
|
|
||
|
|
| Asset | Balance | USD Value |
|
||
|
|
|-------|---------|-----------|
|
||
|
|
| **ETH** | 999,630,769.00 ETH | $2,919,741,542,710.58 |
|
||
|
|
| **LINK** | 0 LINK | $0.00 (Token not deployed) |
|
||
|
|
| **WETH9** | 6.00 WETH9 | $17,524.92 |
|
||
|
|
| **WETH10** | 0.00 WETH10 | $0.00 |
|
||
|
|
| **Total** | - | $2,919,759,066,235.50 |
|
||
|
|
|
||
|
|
**Note**: LINK token contract appears to be empty/not deployed on ChainID 138.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Bridge Contract Balances
|
||
|
|
|
||
|
|
### WETH9 Bridge
|
||
|
|
**Address**: `0x89dd12025bfCD38A168455A44B400e913ED33BE2`
|
||
|
|
|
||
|
|
| Asset | Balance | Status |
|
||
|
|
|-------|---------|--------|
|
||
|
|
| **ETH** | 0.00 ETH | ✅ No ETH needed (gas paid by user) |
|
||
|
|
| **LINK** | 0.00 LINK | ⚠️ **NEEDS FUNDING** |
|
||
|
|
|
||
|
|
### WETH10 Bridge
|
||
|
|
**Address**: `0xe0E93247376aa097dB308B92e6Ba36bA015535D0`
|
||
|
|
|
||
|
|
| Asset | Balance | Status |
|
||
|
|
|-------|---------|--------|
|
||
|
|
| **ETH** | 0.00 ETH | ✅ No ETH needed (gas paid by user) |
|
||
|
|
| **LINK** | 0.00 LINK | ⚠️ **NEEDS FUNDING** |
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Funding Requirements
|
||
|
|
|
||
|
|
### Summary
|
||
|
|
|
||
|
|
| Contract | Asset | Current | Required | Needed | USD Cost |
|
||
|
|
|----------|-------|---------|----------|--------|----------|
|
||
|
|
| **Account** | ETH | 999,630,769 ETH | 0.1 ETH | ✅ Sufficient | $0.00 |
|
||
|
|
| **WETH9 Bridge** | LINK | 0 LINK | 10 LINK | **10 LINK** | **$121.50** |
|
||
|
|
| **WETH10 Bridge** | LINK | 0 LINK | 10 LINK | **10 LINK** | **$121.50** |
|
||
|
|
| **TOTAL** | - | - | - | **20 LINK** | **$243.00** |
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Detailed Funding Requirements
|
||
|
|
|
||
|
|
### 1. Account ETH (Gas Fees)
|
||
|
|
|
||
|
|
**Status**: ✅ **Sufficient**
|
||
|
|
|
||
|
|
- **Current Balance**: 999,630,769 ETH
|
||
|
|
- **Recommended**: 0.1 ETH (for gas fees)
|
||
|
|
- **Action Required**: None
|
||
|
|
|
||
|
|
**Note**: Account has more than sufficient ETH for all gas fees.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
### 2. WETH9 Bridge LINK
|
||
|
|
|
||
|
|
**Status**: ⚠️ **NEEDS FUNDING**
|
||
|
|
|
||
|
|
- **Contract Address**: `0x89dd12025bfCD38A168455A44B400e913ED33BE2`
|
||
|
|
- **Current Balance**: 0 LINK
|
||
|
|
- **Recommended**: 10 LINK (buffer for multiple transactions)
|
||
|
|
- **Needed**: 10 LINK
|
||
|
|
- **USD Cost**: $121.50
|
||
|
|
|
||
|
|
**Purpose**:
|
||
|
|
- Pay CCIP fees for cross-chain transfers
|
||
|
|
- Base fee: 0.001 LINK per transaction
|
||
|
|
- Data fee: ~0.0001 LINK per transaction
|
||
|
|
- 10 LINK allows for ~9,000 transactions
|
||
|
|
|
||
|
|
**Transfer Command**:
|
||
|
|
```bash
|
||
|
|
cast send 0x326C977E6efc84E512bB9C30f76E30c160eD06FB \
|
||
|
|
"transfer(address,uint256)" \
|
||
|
|
0x89dd12025bfCD38A168455A44B400e913ED33BE2 \
|
||
|
|
10000000000000000000 \
|
||
|
|
--rpc-url http://192.168.11.250:8545 \
|
||
|
|
--private-key $PRIVATE_KEY \
|
||
|
|
--gas-price $(./scripts/get-optimal-gas-from-api.sh proposed)
|
||
|
|
```
|
||
|
|
|
||
|
|
**Amount in Wei**: `10000000000000000000` (10 LINK)
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
### 3. WETH10 Bridge LINK
|
||
|
|
|
||
|
|
**Status**: ⚠️ **NEEDS FUNDING**
|
||
|
|
|
||
|
|
- **Contract Address**: `0xe0E93247376aa097dB308B92e6Ba36bA015535D0`
|
||
|
|
- **Current Balance**: 0 LINK
|
||
|
|
- **Recommended**: 10 LINK (buffer for multiple transactions)
|
||
|
|
- **Needed**: 10 LINK
|
||
|
|
- **USD Cost**: $121.50
|
||
|
|
|
||
|
|
**Purpose**:
|
||
|
|
- Pay CCIP fees for cross-chain transfers
|
||
|
|
- Base fee: 0.001 LINK per transaction
|
||
|
|
- Data fee: ~0.0001 LINK per transaction
|
||
|
|
- 10 LINK allows for ~9,000 transactions
|
||
|
|
|
||
|
|
**Transfer Command**:
|
||
|
|
```bash
|
||
|
|
cast send 0x326C977E6efc84E512bB9C30f76E30c160eD06FB \
|
||
|
|
"transfer(address,uint256)" \
|
||
|
|
0xe0E93247376aa097dB308B92e6Ba36bA015535D0 \
|
||
|
|
10000000000000000000 \
|
||
|
|
--rpc-url http://192.168.11.250:8545 \
|
||
|
|
--private-key $PRIVATE_KEY \
|
||
|
|
--gas-price $(./scripts/get-optimal-gas-from-api.sh proposed)
|
||
|
|
```
|
||
|
|
|
||
|
|
**Amount in Wei**: `10000000000000000000` (10 LINK)
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Total Funding Required
|
||
|
|
|
||
|
|
### LINK Tokens
|
||
|
|
- **Total Needed**: 20 LINK
|
||
|
|
- **Total USD Cost**: $243.00
|
||
|
|
- **Distribution**:
|
||
|
|
- WETH9 Bridge: 10 LINK ($121.50)
|
||
|
|
- WETH10 Bridge: 10 LINK ($121.50)
|
||
|
|
|
||
|
|
### ETH (Gas Fees)
|
||
|
|
- **Total Needed**: 0 ETH (account has sufficient)
|
||
|
|
- **Total USD Cost**: $0.00
|
||
|
|
|
||
|
|
### Grand Total
|
||
|
|
- **Total Funding Required**: $243.00 USD
|
||
|
|
- **All in LINK tokens**: 20 LINK
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Network Requirements
|
||
|
|
|
||
|
|
### Source Chain (ChainID 138)
|
||
|
|
|
||
|
|
**Required Assets**:
|
||
|
|
- ✅ **ETH**: Sufficient (999,630,769 ETH available)
|
||
|
|
- ⚠️ **LINK**: 20 LINK needed ($243.00 USD)
|
||
|
|
|
||
|
|
**Contracts to Fund**:
|
||
|
|
1. WETH9 Bridge: 10 LINK
|
||
|
|
2. WETH10 Bridge: 10 LINK
|
||
|
|
|
||
|
|
### Destination Chains
|
||
|
|
|
||
|
|
**Note**: Destination chains do not require funding from this account. Gas fees on destination chains are paid by users when they interact with the bridge contracts on those chains.
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Fee Structure
|
||
|
|
|
||
|
|
### CCIP Fees (Paid in LINK)
|
||
|
|
|
||
|
|
**Per Transaction**:
|
||
|
|
- Base Fee: 0.001 LINK
|
||
|
|
- Data Fee: ~0.0001 LINK per byte
|
||
|
|
- **Total**: ~0.0011 LINK per transaction
|
||
|
|
|
||
|
|
**With 10 LINK per Bridge**:
|
||
|
|
- **Capacity**: ~9,000 transactions per bridge
|
||
|
|
- **Total Capacity**: ~18,000 transactions (both bridges)
|
||
|
|
|
||
|
|
### Gas Fees (Paid in ETH)
|
||
|
|
|
||
|
|
**Per Transaction** (ChainID 138):
|
||
|
|
- Average Gas: ~100,000 - 200,000 gas
|
||
|
|
- Current Gas Price: ~1,000 wei (very low)
|
||
|
|
- **Cost**: ~0.0001 - 0.0002 ETH per transaction
|
||
|
|
|
||
|
|
**With Current Balance**:
|
||
|
|
- **Capacity**: Billions of transactions
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Action Items
|
||
|
|
|
||
|
|
### Immediate Actions Required
|
||
|
|
|
||
|
|
1. **Deploy/Verify LINK Token** (if not deployed)
|
||
|
|
- Address: `0x326C977E6efc84E512bB9C30f76E30c160eD06FB`
|
||
|
|
- Status: Contract appears empty
|
||
|
|
- Action: Deploy LINK token or verify existing deployment
|
||
|
|
|
||
|
|
2. **Fund WETH9 Bridge with LINK**
|
||
|
|
- Amount: 10 LINK
|
||
|
|
- Cost: $121.50 USD
|
||
|
|
- Command: See above
|
||
|
|
|
||
|
|
3. **Fund WETH10 Bridge with LINK**
|
||
|
|
- Amount: 10 LINK
|
||
|
|
- Cost: $121.50 USD
|
||
|
|
- Command: See above
|
||
|
|
|
||
|
|
### Optional Actions
|
||
|
|
|
||
|
|
4. **Monitor LINK Balances**
|
||
|
|
- Use: `./scripts/monitor-fees.sh 1.0`
|
||
|
|
- Alert when balance below 1 LINK
|
||
|
|
|
||
|
|
5. **Set Up Automated Monitoring**
|
||
|
|
- Monitor LINK balances regularly
|
||
|
|
- Alert on low balances
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Funding Script
|
||
|
|
|
||
|
|
A script has been created to automate funding:
|
||
|
|
|
||
|
|
```bash
|
||
|
|
# Check funding requirements
|
||
|
|
./scripts/get-funding-report.sh
|
||
|
|
|
||
|
|
# Monitor fees
|
||
|
|
./scripts/monitor-fees.sh 1.0
|
||
|
|
```
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Cost Breakdown
|
||
|
|
|
||
|
|
### One-Time Setup Costs
|
||
|
|
|
||
|
|
| Item | Amount | USD Cost |
|
||
|
|
|------|--------|----------|
|
||
|
|
| WETH9 Bridge LINK | 10 LINK | $121.50 |
|
||
|
|
| WETH10 Bridge LINK | 10 LINK | $121.50 |
|
||
|
|
| **Total Setup** | **20 LINK** | **$243.00** |
|
||
|
|
|
||
|
|
### Ongoing Operational Costs
|
||
|
|
|
||
|
|
| Item | Per Transaction | Annual (1000 tx) |
|
||
|
|
|------|----------------|-------------------|
|
||
|
|
| CCIP Fee (LINK) | ~0.0011 LINK | ~1.1 LINK ($13.37) |
|
||
|
|
| Gas Fee (ETH) | ~0.0001 ETH | ~0.1 ETH ($292.08) |
|
||
|
|
| **Total** | - | **~$305.45** |
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Recommendations
|
||
|
|
|
||
|
|
### Minimum Funding (Immediate Operations)
|
||
|
|
- WETH9 Bridge: 1 LINK ($12.15)
|
||
|
|
- WETH10 Bridge: 1 LINK ($12.15)
|
||
|
|
- **Total**: 2 LINK ($24.30)
|
||
|
|
|
||
|
|
### Recommended Funding (Buffer for Growth)
|
||
|
|
- WETH9 Bridge: 10 LINK ($121.50)
|
||
|
|
- WETH10 Bridge: 10 LINK ($121.50)
|
||
|
|
- **Total**: 20 LINK ($243.00)
|
||
|
|
|
||
|
|
### Optimal Funding (High Volume)
|
||
|
|
- WETH9 Bridge: 50 LINK ($607.50)
|
||
|
|
- WETH10 Bridge: 50 LINK ($607.50)
|
||
|
|
- **Total**: 100 LINK ($1,215.00)
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Network-Specific Requirements
|
||
|
|
|
||
|
|
### ChainID 138 (Source Chain)
|
||
|
|
- **ETH**: ✅ Sufficient (999,630,769 ETH)
|
||
|
|
- **LINK**: ⚠️ 20 LINK needed ($243.00)
|
||
|
|
|
||
|
|
### Destination Chains
|
||
|
|
- **No funding required** from this account
|
||
|
|
- Users pay gas fees on destination chains
|
||
|
|
- Bridge contracts on destination chains handle their own LINK balances
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
## Summary
|
||
|
|
|
||
|
|
### Current Status
|
||
|
|
- ✅ Account has sufficient ETH for all gas fees
|
||
|
|
- ⚠️ LINK token contract not deployed/verified
|
||
|
|
- ⚠️ Bridge contracts need LINK funding
|
||
|
|
|
||
|
|
### Required Actions
|
||
|
|
1. Deploy/verify LINK token contract
|
||
|
|
2. Transfer 10 LINK to WETH9 Bridge
|
||
|
|
3. Transfer 10 LINK to WETH10 Bridge
|
||
|
|
|
||
|
|
### Total Cost
|
||
|
|
- **One-Time**: $243.00 USD (20 LINK)
|
||
|
|
- **Ongoing**: ~$0.30 per transaction
|
||
|
|
|
||
|
|
---
|
||
|
|
|
||
|
|
**Last Updated**: 2025-01-12
|
||
|
|
|