Example Logs

Usage Example: Caching a Stylus Contract
This section demonstrates how to use the smart-cache CLI tool to cache a Stylus contract. The following logs show a successful run of the smart-cache add command.
Command
Process Breakdown
Validation
Contract deployment is validated.
User registration and balance are checked.
Stylus program status is verified.
✅ Valid contract detected ✅ User registered and balance verified
Bid Placement
A bid is placed on behalf of the user to cache the contract.
Direct placement occurs because the minimum bid is zero.
✅ Bid placement successful
Bid Analysis:
Reason: Zero minimum bid – direct placement
ROI:
1e-17 ETH/contract callMinimum Bid:
0 ETHMarket Bid:
0.000000000000000001 ETH- last latest non-zero bidGas Saved:
11,797 unitsSavings Percentage:
90%Gas Used:
156,308 units
Contract Saved to Cache
✅ Contract successfully saved.
Details:
Address:
0x9e0d82d65b7cb7ae7868f11e3d4588122781da08Network:
arbitrum-sepoliaDeployed By:
0xd649CB59755EbC44610a8e5F15D3C93C3aEb08F1Tx Hash:
0x4f8f6b63ca868ea9945213a159e3e79afa228811b83e39271fba957f9cf58f1d
Last updated