Skip to main content
A governance lock is a Canton Coin (CC) holding that is locked to fulfill the locking requirements for Super Validators (SVs) and Featured Apps (FAs). This page explains why governance locks exist, and how lock owners create and manage them with any wallet that supports CIP-0056 two-step transfers. The screenshots on this page show Splice Portfolio, but the same steps work in any token standard compliant wallet.
The screenshots below were taken of an earlier version of Splice Portfolio that had a character limit on descriptions. Later versions remove this limit.
Governance locks are available from Splice 0.10.0 onwards. The first two increments described in the incremental delivery plan, compatibility mode for SV and FA locks, and support for provisional FA locks, are included in 0.10.0. Future releases will build on this to implement additional increments.

Why Governance Locks Exist

Two CIPs define locking requirements, and a third specifies how they are enforced on-chain:
  • CIP-0105 (SV Locking) requires SVs to lock a percentage of their aggregate lifetime SV rewards to keep their SV weight.
  • CIP-0116 (FA Locking) requires each featured app provider party to lock a minimum amount of CC to get and keep its featured app status.
  • CIP-0127 (On-Chain Enforcement of FA and SV Locking) is the functional specification of governance locks. It defines the lock lifecycle and the wallet workflows described on this page.

Concepts

  • Lock owner: the party that owns the CC in a lock. The lock owner is the party that sends the lock requests described below.
  • Lock subject: the SV or FA whose locking requirement the lock contributes to. See Choose the Lock Subject.
  • Lock kind: the purpose of the lock: sv-lock, fa-lock, or provisional-fa-lock. See Lock Kinds and Vesting Periods.
  • Locked and vesting: a lock is either locked, or vesting after an unlock. Only locked CC counts toward locking requirements. Vested CC is returned to the lock owner when the owner withdraws it. See Withdraw Vested Funds.
  • Minimum lock amount: every lock must hold at least 10,000 CC. The minimum applies to every action that produces an additional lock, such as a new lock, a partial unlock, or a partial substitution: each resulting lock must hold at least the minimum. An action on the full amount of a lock is always allowed. Lock amounts that are multiples of the minimum make partial unlocks and substitutions easier.
  • Automatic merging: a new lock with the same owner, kind, subject, and vesting state as an existing lock merges into the existing lock. Use this to top up a lock.

Lock Kinds and Vesting Periods

The vesting periods and the minimum lock amount are network configuration parameters. SVs can change them by vote. The values on this page are the defaults.

How Locked Funds Are Aggregated

The amount that counts toward a locking requirement is the sum of all locks with the same lock-subject and lock-kind, and with lock-status=locked. The sum includes the locks of all lock owners, so several parties, wallets, or custodians can contribute to the same SV or featured app. Vesting locks do not count. Provisional FA locks are summed separately from FA locks, so they do not count toward the requirement of an existing featured app.

How Wallets Process and Display Governance Locks

The initial phases of SV and FA locking rely on Token Standard V1 two-step transfers. Later stages will allow automated locking, substitution and other advanced actions via third-party lock providers, using custom controllers. Until those custom controls are available, all Featured Application providers and Super Validator rights owners must use the compatibility mode defined in CIP-0127. In compatibility mode:
  • Each lock request is a two-step transfer to a master onchain lock manager address:
    This address is a fixed party ID whose fingerprint does not correspond to any private key, and which cannot perform or accept any transfers. Transfer offers sent to this address remain locked until they are either converted to a vesting lock, or are released via an allowed action. The Splice Daml code recognizes transfers to this address and interprets the memo (Description) on each such transfer as a lock request for governance purposes.
  • The transfer memo (the Description field in Splice Portfolio) says what to do. The section below titled Build the Memo explains the format.
  • Each lock shows in the wallet as a pending transfer offer from the lock owner to the lock manager address. In Splice Portfolio, locks are on the Offers page, under Transfers:
    • A locked lock has the expiration 9999-12-31 23:59.
    • A vesting lock has the end of its vesting period as its expiration.
  • To see the details of a lock in the Splice Portfolio app, click its row on the Offers page. The Description of a lock lists its parameters, for example cip-127/memo:lock-kind=sv-lock&lock-subject=Example-SV-1&lock-status=locked. A vesting lock also lists lock-vesting-duration-micros, lock-vesting-end-time-micros, and a human-readable lock-vesting-info.
Compatibility mode has these limitations:
  • It manages only owner-controlled locks. CIP-0127 also specifies locks with custom controllers for unlock, substitution, and withdrawal, for example for staking apps. These need a wallet or app with a full-feature integration.
  • It does not support minting SV rewards directly into a lock.
  • Locks are recorded as long-lived transfer offers, so they should appear as in-flight or pending in wallet UIs.

Send a Lock Request

All lock actions on this page use the same transfer form. Only the Amount and the Description change from one action to the next. In the Splice Portfolio app:
  1. On the Dashboard, click Transfer to open the Make a transfer dialog.
  2. Fill in the form:
    • Recipient Address: the lock manager address.
    • Select Asset: Canton Coin. The screenshots on this page come from a local test network, where the asset shows as Amulet (AMT).
    • Amount: the value in the Amount column of the table below.
    • Expiration Date: leave the default. This date applies to the transfer request only. It is not the duration or the expiration of the lock.
    • Description: the memo for your action. Find your action in the table below, go to its section, and build the memo from the template there. Each section has a table that explains every key in the memo, and a complete example for an SV lock and an FA lock.
  3. Click Make Transfer.
  4. Approve the transaction in your wallet provider UI. If you are using the Wallet Gateway, click Approve in the Activity Details popup.
  5. Close the Transfer Summary dialog.
  6. Click Offers in the left navigation to see the result.
Accepting, rejecting, or withdrawing a substitution or lock transfer proposal does not use the Transfer form. Click the proposal on the Offers page instead.

Build the Memo

Every memo follows the same rules:
  1. Start with the prefix cip-127/memo:.
  2. Add key=value pairs, joined by &. Do not put & directly after the prefix.
  3. Include the keys in the order the template for your action lists them.
  4. Use no spaces, quotes, or line breaks anywhere in the memo.
Values use these formats: Some actions act on an existing lock, and their memo identifies that lock by its kind, subject, and status. For these actions, open the lock’s row on the Offers page and copy the values from its Description. To build the memo for an action:
  1. Copy the template from the section for the action.
  2. Replace each <placeholder> with a value, using the key table in that section.
  3. Check the result against the rules above, and against the example in that section.
  4. Paste the result into the Description field.

Choose the Lock Subject

The lock-subject in every memo says whose locking requirement the lock counts toward. Its format depends on the lock kind.
Check the lock subject before you send a lock request. The Splice Daml code checks only that an SV name consists of letters, digits, and hyphens, and that an FA party is a party registered on the Global Synchronizer. A lock with a wrong subject is created and does not count toward your locking requirement. To recover the CC, you must unlock the lock and wait for the full vesting period.

SV Locks

The subject of an sv-lock is the SV Rights Owner name: the value of the svRightsOwnerName field in approved-sv-id-values.yaml. This name identifies the entity that owns the SV rewards right. The SV Rights Owner name is a different field from name. Today, name exists only on the top-level entries for SV nodes, for example Global-Synchronizer-Foundation, and every other SV Rights Owner is listed only by a beneficiary party ID under extraBeneficiaries. As part of the move to on-chain locks, svRightsOwnerName is added to every SV entry in the file: each node entry with a name, and each beneficiary party ID. An entity with more than one entry uses the same SV Rights Owner name on each of them. For example, Digital Asset uses one SV Rights Owner name for both Digital-Asset-1 and Digital-Asset-2, and Cumberland uses one SV Rights Owner name for both Cumberland-1 and Cumberland-2. Because locked funds are summed by subject, all locks with the same svRightsOwnerName count toward the one entity’s requirement.

If Your Super Validator Already Has an SV Rights Owner Name

  1. Open approved-sv-id-values.yaml.
  2. Find the entry for your SV node or beneficiary party ID.
  3. Copy the value of its svRightsOwnerName field exactly, with the same capitalization and hyphens. Do not use the name field or the party ID.

If Your SV Does Not Have an SV Name Yet

If your entry in the file has no svRightsOwnerName, create an SV Rights Owner name and add it to the file before you create a lock.
  1. Start from the business name. Use the plain business name of the entity that owns the SV rewards right, written as it appears in that entity’s business contracts.
  2. Decide whether to use a legal suffix. Suffixes such as LLC, Inc, and LP are optional. Include one only if you want it to be part of the SV name.
  3. Replace spaces with hyphens. Separate the words of the name with -, never with spaces.
  4. Remove other characters. An SV Rights Owner name may contain only letters, digits, and hyphens, so drop commas, periods, ampersands, and other punctuation.
  5. Add the name to the file. Submit a pull request to canton-foundation/configs that adds svRightsOwnerName to every entry of your entity in approved-sv-id-values.yaml.
  6. Wait for the merge. Use the SV Rights Owner name in a lock request only after the pull request is merged. Until then, a lock with that subject might not be recorded correctly toward your locking requirement.
For example: Once you have chosen a format for your svRightsOwnerName, such as with or without the suffix, use exactly that form in the file and in every lock request. In the file, the field sits on a node entry next to name, and on a beneficiary entry next to beneficiary. For example, for a fictional entity with two nodes and another with a beneficiary party ID:
The other examples on this page use the fictional SV name Example-SV-1. Replace it with your SV name.

FA Locks and Provisional FA Lock Subjects

The subject of an fa-lock or a provisional-fa-lock is the full party ID of the featured app provider party. This is the party that holds, or will apply for, the featured app right. The lock owner is often a different party. Use the whole party ID, including the party hint, ::, and the full fingerprint. For example:
The examples on this page use this fictional party ID. Replace it with the party ID of your featured app provider party.

Create a Lock

Send a lock request with: Amount: the amount of CC to lock, at least the minimum lock amount. Memo template:
Example: SV lock. To lock 15,000 CC for the SV Example-SV-1, enter 15000 in Amount and this Description:
Example: FA lock. To lock 15,000 CC for the featured app provider example-app-provider::1220d5be…f4c1, enter 15000 in Amount and this Description:
For a provisional FA lock, use the same memo with lock-kind=provisional-fa-lock. Make a transfer dialog with a request to create an SV lock of 15,000 After submitting the transfer, the Offers page shows the new lock as a pending transfer offer to the lock manager address, with the expiration 9999-12-31 23:59. Its Description is cip-127/memo:lock-kind=sv-lock&lock-subject=Example-SV-1&lock-status=locked. Offers page with one lock of 15,000

Top Up a Lock

To add CC to an existing lock, send another create request. Use the Create a Lock template with the same lock-kind and lock-subject as the existing lock, and the amount to add in Amount. The new lock merges automatically into the existing lock. For example, a second request for 15,000 CC with this memo results in one lock of 30,000:
Offers page with one merged lock of 30,000
Merging is best-effort. Concurrent create requests can produce separate locks with the same parameters, and one request merges at most 20 locks. To merge the remaining locks, send a create request with an amount of 0.

Unlock a Lock

An unlock converts all or part of a locked lock into a vesting lock. Send a lock request with: Amount: 0. The transfer amount is ignored; unlock-amount in the memo sets the amount to unlock. Memo template:
Example: SV lock. To unlock 10,000 CC from a 30,000 CC lock for Example-SV-1, with vesting starting at midnight UTC on 5 November 2026, enter 0 in Amount and this Description:
Example: FA lock. The same unlock from an FA lock:
To unlock a provisional FA lock, see FA Locks and Provisional FA Locks. Make a transfer dialog with a request to unlock 10,000 from an SV lock After the SV unlock above, the Offers page shows two locks:
  • a locked lock of 20,000, with the expiration 9999-12-31 23:59;
  • a vesting lock of 10,000, whose expiration is the end of the vesting period: the vesting start plus 365.25 days, 2027-10-24 06:00:00 UTC. Its Description is:
Offers page with a vesting lock of 10,000 and a locked lock of 20,000 If you then unlock the remaining 20,000 with the same vesting start time, you get a second vesting lock with the same expiration. Vesting locks that come from separate unlock requests do not merge immediately, but are merged on withdraw, so you can withdraw from multiple locks in one request. Offers page with two vesting locks of 10,000 and 20,000

Withdraw Vested Funds

Vested CC stays in the vesting lock until you withdraw it. Amount: 0. The transfer amount is ignored. Memo template:
The easiest way to build this memo is to start from the vesting lock’s Description:
  1. Click the vesting lock’s row on the Offers page and copy its Description.
  2. Delete &lock-vesting-info= and everything after it.
  3. Directly after cip-127/memo:, insert request=withdraw-vested-funds&vested-until-time=<time>&, with your withdrawal time in place of <time>.
Example: SV lock. Take the 10,000 CC vesting lock from Unlock a Lock, whose Description is:
To withdraw what vested in the first 30 days, enter 0 in Amount and this Description:
This returns about 821.36 CC (30/365.25 of 10,000) to the lock owner. The vesting lock keeps the remaining 9,178.64 CC, with the same end of the vesting period. Example: FA lock. For an FA lock unlocked with the same vesting start, the 60-day vesting period gives lock-vesting-duration-micros=5184000000000 and lock-vesting-end-time-micros=1798005600000. The withdrawal after 30 days returns 5,000 CC:
After a withdrawal, the vesting lock holds the remaining amount, and its lock-vesting-duration-micros changes to the remaining vesting period. In the SV example, it changes from 31557600000000 to 28965600000000 (335.25 days). Copy the current values from the lock’s Description before each withdrawal.
The withdrawal screenshots come from a test network with a vesting period of 120 seconds (lock-vesting-duration-micros=120000000), so the times are minutes apart.
Make a transfer dialog with a request to withdraw vested funds In the screenshots, a quarter of a 10,000 vesting lock vested before the withdrawal. The withdrawal returns 2,500 CC to the lock owner, and the vesting lock keeps the remaining 7,500 with the same end of the vesting period: Offers page with a vesting lock of 7,500 after the withdrawal When the vesting period ends, the remaining CC in a vesting lock becomes available as liquid CC without a withdrawal, as the time lock on the holding expires. SVs run automation that archives fully vested vesting locks, which removes them from the Offers page and returns all locked funds.

Substitute a Lock

In a substitution, a funds owner (the proposer) offers to replace part or all of an existing lock of another party (the target owner) with their own CC. If the target owner accepts:
  • the substituted amount is returned to the target owner as liquid CC;
  • the target lock is reduced by that amount;
  • the proposer gets a new lock of that amount, with the same kind and subject as the target lock.
Apart from unlocking a provisional FA lock, substitution is the only way to return locked CC to its owner as liquid CC without vesting.

Propose a Substitution

The proposer sends the lock request. The proposer cannot see the target lock in its own wallet, so the target owner must give the proposer its party ID and the lock’s kind, subject, and status. For a vesting lock, the target owner also gives the vesting duration and end time from the lock’s Description. Amount: the amount to substitute. This amount of the proposer’s CC is reserved until the proposal is accepted, rejected, withdrawn, or expires. Memo template for a locked target lock:
Memo template for a vesting target lock:
The memo identifies the target lock by its owner, kind, subject, and vesting state, not by its amount. After a partial substitution, the rest of the target lock must still hold at least the minimum lock amount. Example: SV lock. The party example-proposer::1220…2e4 offers to substitute 10,000 CC of the 30,000 CC locked SV lock that example-custodian::1220…7346 holds for Example-SV-1. The proposer enters 10000 in Amount and this Description:
Example: FA lock. The same substitution against a locked FA lock:
Make a transfer dialog with a substitution proposal for 10,000 The proposal is a pending transfer offer from the proposer to the target owner. Both parties see it on their Offers page. Its Description starts with cip-127/memo:request=accept-to-substitute-lock, followed by the kind, subject, and status of the target lock. The proposal expires after 90 days. Offers page of the target owner with the substitution proposal and the target lock

Accept or Reject a Substitution

The target owner clicks the proposal on the Offers page. The Transfer Offer dialog shows the amount, the proposer as the sender, and the memo: Transfer Offer dialog of the target owner with Reject and Accept
  • Click Accept to accept the substitution.
  • Click Reject to reject it. The reserved CC is returned to the proposer, and the target lock does not change.
After an accepted substitution of 10,000 from a lock of 30,000, the target owner has a lock of 20,000 and 10,000 more liquid CC: Offers page of the target owner with a lock of 20,000 after the substitution The proposer has a new lock of 10,000 with the same kind and subject: Offers page of the proposer with a new lock of 10,000

Withdraw a Substitution Proposal

Until the target owner accepts, the proposer can withdraw the proposal. The proposer clicks the proposal on the Offers page and clicks Withdraw. The reserved CC is returned to the proposer. Transfer Offer dialog of the proposer with Withdraw

Transfer a Lock

A lock transfer moves all or part of a lock to a new owner, without vesting and without new funds. It keeps the lock kind, subject, and vesting state. Use it, for example, to move a lock to a different custodian. Unlike a substitution, the current lock owner starts the transfer, and no CC is paid out: the locked CC moves from the current owner to the new owner. The total balance of the current owner decreases by the transferred amount, and the total balance of the new owner increases by the same amount.

Propose a Lock Transfer

The current lock owner sends the lock request. Amount: 0. The transfer amount is ignored; transfer-amount in the memo sets the amount to transfer. Memo template for a locked lock:
Memo template for a vesting lock:
The memo identifies the lock by its owner, kind, subject, and vesting state, not by its amount. Example: SV lock. To transfer 10,000 CC of a 30,000 CC locked SV lock for Example-SV-1 to example-custodian::1220…7346, enter 0 in Amount and this Description:
Example: vesting SV lock. To transfer the whole 10,000 CC vesting lock from Unlock a Lock to the same custodian:
Example: FA lock. To transfer 10,000 CC of a locked FA lock:
Make a transfer dialog with a proposal to transfer 10,000 of an SV lock The proposal is a pending transfer offer from the current owner to the new owner, for the transferred amount. Both parties see it on their Offers page. Its Description starts with cip-127/memo:request=accept-to-transfer-lock, followed by the kind, subject, and status of the lock. The proposal expires after 90 days. Offers page of the new owner with the lock transfer proposal

Accept or Reject a Lock Transfer

The new owner clicks the proposal on the Offers page. The Transfer Offer dialog shows the amount, the current owner as the sender, and the memo: Transfer Offer dialog of the new owner with Reject and Accept
  • Click Accept to accept the lock transfer.
  • Click Reject to reject it. The lock does not change.
After an accepted transfer of 10,000 from a lock of 30,000, the current owner has a lock of 20,000: Offers page of the current owner with a lock of 20,000 after the transfer The new owner has an owner-controlled lock of 10,000 with the same kind and subject: Offers page of the new owner with a new lock of 10,000

Withdraw a Lock Transfer Proposal

Until the new owner accepts, the current owner can withdraw the proposal. The current owner clicks the proposal on the Offers page and clicks Withdraw. The lock does not change. Transfer Offer dialog of the current owner with Withdraw

FA Locks and Provisional FA Locks

FA locks work like SV locks, and every memo template on this page applies to them. These are the differences:
  • Lock kind: lock-kind=fa-lock.
  • Lock subject: the full party ID of the featured app provider party, not a name. See FA Locks and Provisional FA Lock Subjects.
  • Vesting period: 60 days, so lock-vesting-duration-micros of a freshly unlocked FA lock is 5184000000000.
A provisional FA lock (lock-kind=provisional-fa-lock) proves that an applicant has sufficient funds before it applies for featured app status. Create it with the Create a Lock template. For example, to provisionally lock 15,000 CC for example-app-provider::1220d5be…f4c1, enter 15000 in Amount and this Description:
A provisional FA lock works like an FA lock, with these differences:
  • It does not count toward the locking requirement of an existing featured app.
  • It will be automatically converted to an FA lock by SV automation once the featured app right for the subject is created.
  • An unlock returns the CC to the lock owner immediately, without vesting. The unlock memo leaves out vesting-start-time.
Memo template for unlocking a provisional FA lock:
Example. To unlock the whole 15,000 CC provisional lock above, enter 0 in Amount and this Description:

Integrate Governance Locks

This section is for developers of wallets and explorers. Wallets and explorers read governance locks from different sources, so they integrate in different ways.

Wallets

Wallets work with both the locks and the requests that change them. All of them are CIP-0056 token standard transfers, and the memo of each transfer says what it is. The memo is in the splice.lfdecentralizedtrust.org/reason metadata key, and it starts with cip-127/memo:. Its keys and values are the ones described in Build the Memo.
  • Locks: each lock implements the TransferInstruction interface (V1 and V2) as a pending transfer:
    • The sender is the lock owner, and the receiver is the lock manager address.
    • The memo lists lock-kind, lock-subject, and lock-status. A vesting lock also lists lock-vesting-duration-micros, lock-vesting-end-time-micros, and lock-vesting-info.
    • The V1 status is TransferPendingInternalWorkflow.
    • The expiration (executeBefore in V1) is the maximum time for a locked lock, and the end of the vesting period for a vesting lock. In V2, expiresAt is empty for a locked lock.
    • Show locks as in-flight or pending transfers. Do not offer to accept, reject, or withdraw a lock: the lock contract rejects these choices.
  • Proposals: substitution and lock transfer proposals also implement the TransferInstruction interface. Their memos start with cip-127/memo:request=accept-to-substitute-lock or cip-127/memo:request=accept-to-transfer-lock. The receiver can accept or reject a proposal with the standard token standard choices, and the sender can withdraw it.
  • Requests: a wallet sends a lock request as a standard two-step transfer, with the TransferFactory_Transfer choice, to the lock manager address. Put the memo in the splice.lfdecentralizedtrust.org/reason metadata key. The Splice Daml code reads the lock request only from this memo, and checks that the receiver is the lock manager address.
We recommend that wallets list governance locks and their multi-step workflows (transfers and substitutions) separately from token standard transfer offers. We also recommend that wallets build custom forms for creating lock requests, and support their users with extra validation (e.g., SV right owner name validation).

Explorers

We recommend that explorers use the /v2/updates stream of the Scan API and the corresponding active contract set (ACS) endpoint as their data source. These endpoints do not serve interface views. Explorers should thus read the locksusing the underlying Splice.GovernanceLock:GovernanceLock template directly. We recommend explorer developers to consult the corresponding Daml code to understand the structure. To compute the locked amounts:
  1. Select the GovernanceLock contracts whose specification is GLS_FullLock. Contracts with GLS_VestingLock are vesting locks, and do not count toward locking requirements.
  2. Group the contracts by specification.kind. The kind is one of:
    • GLK_SuperValidatorRightsOwner, with the SV name in svName
    • GLK_FeaturedApp, with the featured app provider party in provider
    • GLK_ProvisionalFeaturedApp, with the featured app provider party in provider
  3. Sum the amount field of each group, across all values of owner.
Provisional FA locks form their own groups, separate from FA locks with the same provider. See How Locked Funds Are Aggregated.

Further Reading