COHR
Lab Simulator
Coherent Corp · Sherman TX · XRPL EVM Testnet
Floor Plan — Hover rooms & workers · Click for info
not connected
Step 1 of 6
Contract Functions
CohrLab.sol · XRPL EVM 1449000
Write Functions Tx
createBatch(string name)
Deploy a new batch into the pipeline at Step 0 — LEC Crystal Growth.
Batch Name
advanceBatch(uint256 batchId)
Advance a batch to the next manufacturing step. Only the batch owner can call.
Batch ID
abandonBatch(uint256 batchId)
Mark a batch as abandoned mid-pipeline. Simulates a yield failure. Irreversible.
Batch ID
setStepNote(uint256 batchId, uint8 step, string note)
Attach a process note to a completed step — e.g. "Threshold 9.8mA PASS".
Batch ID
Step (0–5)
Note
Read Functions Free
getBatch(uint256 batchId)
Full batch details — owner, step, timestamps, complete status.
Batch ID
getBatchesByOwner(address owner)
Returns all batch IDs owned by an address.
Address
getBatchCount()
Total number of batches ever created on this contract.
timeAtCurrentStep(uint256 batchId)
Seconds this batch has been at its current step.
Batch ID
getBatchSteps(uint256 batchId)
All 6 step timestamps and attached notes for a batch.
Batch ID
New Batch
Active
No batches yet
Click to open info →
Transaction
Preparing Tx
Broadcasting
Mining Block
Confirmed
Production Dashboard
XRPL EVM Testnet · Chain 1449000 · Session
On-Chain Event Log
No events yet — create a batch to begin