Are you an LLM? Read llms.txt for a summary of the docs, or llms-full.txt for the full context.
Skip to content

Denom

A token denomination — a chain-unique string identifier.

Definition

type Denom = string

Construction

import type { Denom } from "@left-curve/sdk"
 
const dango: Denom = "dango"
const usdc: Denom = "bridge/usdc"
const lp: Denom = "lp/dango/bridge_usdc"

Notes

  • Denoms are free-form strings. By convention, system tokens are short ("dango"), bridged tokens use the bridge/ prefix, and LP tokens use lp/{base}/{quote} with the slash in the quote denom replaced by an underscore.
  • Use the branded type to keep denoms and addresses distinct at compile time.

See also