Skip to main content

Type Alias: UserDepositWire

type UserDepositWire = object;

Defined in: packages/overcast-core/src/types/index.ts:354

A UserDeposit in wire form: the canonical slots kept as they are, with the native amount as a decimal string so the shape survives JSON.stringify.

Still uncurated — the read ports return this rather than a curated counterpart. The domain now says which layer's encoding and asset metadata a balance belongs to; only the curated shape itself is missing.

TODO: reinstate a curated deposit, resolved through domain's OvercastUtils and asset registry the way every other curated shape is.

Properties

accountHolder

accountHolder: Bytes32;

Defined in: packages/overcast-core/src/types/index.ts:357


amount

amount: string;

Defined in: packages/overcast-core/src/types/index.ts:360

Native (smallest-unit) balance as a decimal string (wire form).


asset

asset: Bytes32;

Defined in: packages/overcast-core/src/types/index.ts:358


domain

domain: number;

Defined in: packages/overcast-core/src/types/index.ts:356

The deployment the balance is held on (see UserDeposit.domain).