Place Bid
A successful bid reserves cache space for an active Stylus program on Arbitrum. When you use the "Bid Now" feature in the frontend, you're making a direct transaction with the CacheManager contract to secure cache space for your contract.
What Happens When You Place a Bid
When you click "Place Bid" in the frontend, the system:
- Validates your bid amount against current market conditions
- Prepares the transaction with the correct parameters
- Sends the transaction through your wallet to the CacheManager contract
- Monitors the result and updates your contract's cache status
The Transaction Flow
The frontend handles all the complexity, but ultimately you're calling:
Where:
program: Your contract addresspayable: The ETH amount you're bidding
Manual bids use your wallet balance, not the Gas Tank. The program must be active, the codehash must not already be cached, and your wallet must use the selected chain. Even a zero-value bid requires transaction gas.
Bid Amount Selection
Suggested Bid Levels
The frontend provides three suggested bid amounts based on current market conditions:
- High Risk Bid: The minimum amount needed to get into the cache
- Mid Risk Bid: A safer amount that's less likely to be outbid
- Low Risk Bid: A higher suggested amount for lower relative eviction risk
These suggestions are calculated using the same logic described in Bid Suggestions.
Custom Bid Amounts
You can also enter a custom bid amount, but it must be At least the minimum bid for your contract size.
What Happens After You Bid
Immediate Effects
- Transaction Confirmation: Your bid is recorded on the blockchain
- Cache Queue Entry: Your contract enters the cache queue
- Auction Accounting: CacheManager records the bid with its internal time-decay term
- Status Update: The frontend updates to show your contract's new status
Time Decay Bonus
The CacheManager contract automatically adds a "decay bonus" to your bid:
This ensures your new bid is competitive with older bids that have been decaying. You only pay your bid amount - the bonus is added by the contract logic.
Monitoring Your Bid
Effective Bid Tracking
After placing a bid, your effective bid will decay over time:
Eviction Risk Assessment
The system continuously monitors your eviction risk by comparing your effective bid to current market thresholds.
Rebidding Considerations
The UI disables manual bidding while the program is cached. After eviction, you can bid again manually or let automation attempt recovery. Consider:
- Setting up eviction alerts to know when your contract is evicted
- Enabling bid automation for continuous cache maintenance
See Also
- Effective Bid - Understanding how your bid decays over time
- Bid Suggestions - How the system calculates recommended amounts
- Cache Bid Automation - Automated bidding for continuous cache management