Detention Settlement Layer

Prove the wait.
Pay detention automatically.

Record verified truck arrival and departure timestamps at every loading and unloading point. When a driver is held beyond the agreed free time, the contract calculates detention compensation owed from the actual wait, not a disputed paper log.

The Foundation

The Execution Mechanics

Convert a contested gate log into a self-calculating record of wait time and compensation.

01.

Verified Arrival Stamp

Anchor the clock start. The Provenance Notary seals a signed arrival timestamp the moment the truck reaches the facility, ending disputes about when the free-time window actually began.

02.

Free-Time Meter

Encode the contract terms. The agreed free-time allowance per facility is written into the contract, so the meter knows exactly when billable detention starts to accrue.

03.

Automatic Compensation

Calculate owed money on chain. When departure is stamped, the Invoices and Billing module computes detention compensation from the actual wait beyond free time at the agreed hourly rate.

04.

Tamper-Evident Audit Logs

Freeze the evidence. The Audit Logs module records each gate event immutably, so neither the driver nor the facility can later revise the wait duration in their favour.

05.

Dual-Party Sign-Off

Bind both sides to the record. Facility and driver each acknowledge arrival and departure, turning the detention claim into a mutual attestation rather than a one-sided log sheet.

06.

Fleet Settlement Feed

Route payment to the right party. Calculated detention flows to the driver or the fleet operator per the haulage contract, with a transparent breakdown of every billable hour.

The Detention Lifecycle

Follow a single trip from facility arrival through the free-time window to an automatically calculated detention payout.

Operational log system
cerulea_detention.log

07:05:12

[SYS] Initializing Gate Event Manifest...

07:05:12

[CMD] logArrival { truck: "GJ01_KT7742", facility: "WH_MUNDRA_3" }

07:05:13

[AUTH] Verifying driver credential and gate camera hash...

07:05:13

[OK] Arrival TRIP_55120 anchored. Free-time clock started.

Smart Contract Anatomy

Cerulea decomposes detention tracking into modular contracts. Each layer stamps arrival, meters free time, seals departure, and settles compensation without either party controlling the clock.

Applicability Across the Spectrum

Verified detention tracking is a horizontal capability. Here is how different logistics actors put the shared wait record to work.

Fleet Operators & Owner-Drivers

Claim detention on evidence instead of goodwill, recovering owed compensation for every hour a truck is held beyond free time with a signed breakdown per trip.

Key Asset Types

  1. 1Detention Claims
  2. 2Wait Records
  3. 3Driver Payouts

Warehouses & Loading Facilities

Settle detention transparently against contracted free time, reducing disputes with hauliers and gaining a defensible record of dwell performance across their docks.

Key Asset Types

  1. 1Gate Events
  2. 2Free-Time Terms
  3. 3Dwell Analytics

Shippers & 3PL Contractors

Reconcile accessorial charges from one shared clock, so detention passed through to customers is backed by verified arrival and departure data rather than contested slips.

Key Asset Types

  1. 1Accessorial Charges
  2. 2Contract Terms
  3. 3Settlement Records

Network & Execution Architecture

Whether you are bridging a warehouse yard management system or capturing gate events from a driver's phone, Cerulea routes both into one shared detention record.

Track A: Enterprise Yard Bridging

For facilities on legacy yard and dock management systems. Existing gate check-in and check-out events are translated into signed on-chain visit records through the API gateway automatically.

Legacy YMS / WMS

Facility Gate Systems

HTTPS / REST

Cerulea API Gateway

Event Hashing & Signing

WASM COMPILATION

Cerulea Private Chain

Detention Ledger

Track B: Driver Gate Capture

For drivers and gate staff on mobile. An app signs each arrival and departure from a device wallet and routes it directly to the ledger for instant metering.

Driver App / Wallet

Driver & Gate Devices

WALLET SIGNATURE

Consortium Validators

Gate Event Consensus

STATE EXECUTION

Cerulea Ledger

Shared Wait Record

Accelerated Time-to-Market Simulator

Building a verified detention platform with gate event capture, contracted free-time metering, and automatic compensation settlement from scratch requires specialised engineers and long integration cycles. Calculate your exact deployment speed using Cerulea.

Required Free-Time & Settlement Rules

38Rules
Simple (10)Enterprise (200)

Traditional Deployment

Solidity Coding & Audits

~ 12 Months

Cerulea Edge

Visual Compilation

WASM Logical Artifacts

~ 4 Weeks

>_

Technical Methodology

The legacy timeline reflects fleet-facility integration benchmarks. Connecting each yard management system, building custom free-time metering, and shipping an auditable detention settlement flow for an average network takes a baseline of 7 months. Building the same architecture on Cerulea takes a baseline of 2 weeks, because Cerulea Studio visually translates your metering and settlement rules into pre-audited WebAssembly binaries and provisions the shared detention ledger instantly.