@cdr-kit/contracts/Conditions/TierGateCondition

TierGateCondition

Gate by a held Story IP license-token tier. The buyer passes the tokenId of their license as accessAuxData; the condition verifies ownership + that the tier is in the allowed set.
address = 0xdA704Faf61b2FFB37205d7Eb8C1D26BD3090455f

Config shape

  • ipId: address — the IP asset the license must reference.
  • allowedTermsIds: uint256[] — accepted PIL terms ids (≥1).

accessAuxData

ABI-encoded uint256 tokenId of the license the caller holds.