@cdr-kit/contracts/Conditions/SubscriptionCondition
SubscriptionCondition
Recurring paid access. The buyer calls subscribe(uuid, periods, maxPricePerPeriod) with the right value; subsequent reads pass until the subscription expires.
address = 0xB75Cc6571ac7E0ee30A519192740fc471e187458
Config shape
| Prop | Type | Default | Description |
|---|---|---|---|
| pricePerPeriodrequired | uint256 | — | Price in wei per subscription period. |
| periodrequired | uint256 | — | Period length in seconds. |
| payeerequired | address | — | Where subscription value is routed. |
| moderequired | uint8 | — | 0 = native IP, 1 = WIP royalty routing. |
| licensorIpId | address | — | Required in royalty mode; 0x0 in native mode. |