Renew Ownership
Renew ownership registration term for an existing Ecosystem namespace. Only the current Ecosystem owner is permitted to invoke this instruction. Extends the expiry timestamp of the root namespace.
open-token ecosystem renew-ownership --help
Synopsis
open-token ecosystem renew-ownership <Name> <Years>
Arguments
| Argument | Type | Required | Description |
|---|---|---|---|
<Name> | String | Yes | Existing Ecosystem namespace name. Must be an active, registered ecosystem on‑chain. No dot characters allowed. |
<Years> | u8 | Yes | Additional full years to extend the Ecosystem registration term. Subject to on‑chain minimum value constraint. |
Behaviour
- The transaction signer must match the stored Ecosystem owner public key; otherwise returns
OwnerMismatch. - Validates that the target Ecosystem account exists and is not yet expired.
- Adds
Years * 365 * 86400seconds to the existing expiry timestamp (based on OpenverseClock::get().unix_timestamp). - Deducts ecosystem renewal fee as defined in the on‑chain treasury configuration.
- Does not modify Meta / Body content or change ownership.
- Does not auto‑renew child entities under this ecosystem; each entity maintains its own independent expiry timestamp.
- If the Ecosystem expires, all entities under this namespace become logically unresolvable via the URI scheme, even if entities themselves are still valid.
Constraints & Validation Rules
OwnerMismatch: Signer is not the Ecosystem owner.NameExpired: Cannot renew an already‑expired Ecosystem.NameTooLong/NameEmpty: Invalid ecosystem name input.YearsTooSmall: Provided years value is below program‑enforced minimum.
Usage Example
Extend the open root ecosystem for another 3 years:
open-token ecosystem renew-ownership open 3