{s}omniamarkets

@somnia-chain/markets-sdk


@somnia-chain/markets-sdk / index / ContractMeta

Interface: ContractMeta

Defined in: reads.ts:815

owner / implementation / native balance for a deployed contract — the diagnostics the /system dashboard shows. owner is null when the contract isn't Ownable; impl is read from the EIP-1967 slot only when proxy is true (null otherwise, or when the slot is empty). Each sub-read degrades to null/0 independently so one missing getter never fails the whole card.

Properties

owner

owner: `0x${string}` | null

Defined in: reads.ts:817

Ownable owner(), or null when the contract exposes no owner getter.


impl

impl: `0x${string}` | null

Defined in: reads.ts:822

EIP-1967 implementation address — null unless read as a proxy with a non-empty slot.


balance

balance: bigint

Defined in: reads.ts:824

Native (SOMI) balance, raw wei (18dp); 0n when the read fails.