Skip to main content

index/variables/WRAP_REFUSAL_REASONS.md

const WRAP_REFUSAL_REASONS: readonly ["not_listed", "no_counterpart", "unknown_channel"]

Why a token cannot be wrapped or unwrapped (TOKEN_NOT_WRAPPABLE.params.reason):

  • not_listed: the wrappable token list does not have it;
  • no_counterpart: the token it wraps to / unwraps from is not listed;
  • unknown_channel: its channel (or its counterpart's) is not one a wrap moves between.