LEARN · DOCUMENTATION
Documentation
Pages from 29 sources, kept in sync: the official Canton Network and Digital Asset docs, documentation from teams building on Canton, and readmes from their code. Search all of it, or start from a path below.
3,253pages
synced 4h ago29 sources
1 more source4 pages
ShowingCode
Code
OpenZeppelin/canton-contracts: examples/treasury-rbac-v1/README.md
Treasury RBAC V1 An application-specific role-based access-control example built from the Scoped Authorization Grant DAR. It records a payment workflow but does not transfer a token or holding. RolePolicy.daml defines the roles and maps each role to
Code
OpenZeppelin/canton-contracts: experiments/README.md
Experiments Early-stage Daml packages that are not ready for application use. They compile and express a working design, but they have not gone through the review, interface, and upgrade decisions that a released component under packages/ must satisfy. > [!WARNING] > Do not depend on anything in
Code
OpenZeppelin/canton-contracts: packages/access/scoped-authorization-grant-v1/daml/OpenZeppelin/ScopedAuthorizationGrantV1.daml
Daml contract source - OpenZeppelin/canton-contracts/packages/access/scoped-authorization-grant-v1/daml/OpenZeppelin/ScopedAuthorizationGrantV1.daml -- | A resource-scoped authorization credential for Canton applications. -- Protected choices bind the actor as controller and derive requireme
Code
OpenZeppelin/canton-contracts: packages/access/scoped-authorization-grant-v1/daml/OpenZeppelin/ScopedAuthorizationGrantV1/Internal.daml
Daml contract source - OpenZeppelin/canton-contracts/packages/access/scoped-authorization-grant-v1/daml/OpenZeppelin/ScopedAuthorizationGrantV1/Internal.daml -- | Implementation details for OpenZeppelin.ScopedAuthorizationGrantV1. module OpenZeppelin.ScopedAuthorizationGrantV1.Internal where
Code
OpenZeppelin/canton-contracts: packages/access/scoped-authorization-grant-v1/README.md
Scoped Authorization Grant V1 An authority issues a grant allowing another party to perform a specific operation on a resource. Application choices validate the grant against their own trusted policy. Grants can expire, be revoked by the authority, or be renounced by the grantee. | Field | Value |
Code
OpenZeppelin/canton-contracts: packages/README.md
Packages OpenZeppelin Daml components for Canton smart contract development. Every directory under a category is one Daml package and one DAR. Category directories are navigation only and never appear in a package name or module namespace. Contents | Package | Description | |---------|---------
Code
OpenZeppelin/canton-contracts: packages/security/api-pausable-v1/daml/OpenZeppelin/Api/PausableV1.daml
Daml contract source - OpenZeppelin/canton-contracts/packages/security/api-pausable-v1/daml/OpenZeppelin/Api/PausableV1.daml -- | OpenZeppelin Pausable - the interface for an emergency-stop switch on a -- Daml template. -- -- The implementing template holds a paused flag and declares an --
Code
OpenZeppelin/canton-contracts: packages/security/api-pausable-v1/README.md
Pausable API V1 A frozen Daml interface that gives a template an emergency-stop switch. | Field | Value | |---|---| | Package | openzeppelin-api-pausable-v1 | | Public module | OpenZeppelin.Api.PausableV1 | | Version | 0.1.0 | | Status | Pre-release; unaudited | What it provides - Pausab
Code
OpenZeppelin/canton-contracts: packages/security/pausable-v1/daml/OpenZeppelin/PausableV1.daml
Daml contract source - OpenZeppelin/canton-contracts/packages/security/pausable-v1/daml/OpenZeppelin/PausableV1.daml -- | OpenZeppelin Pausable - the guards and failure statuses for the -- Pausable interface in OpenZeppelin.Api.PausableV1. -- -- Gated choices call whenNotPaused this. T
Code
OpenZeppelin/canton-contracts: packages/security/pausable-v1/daml/OpenZeppelin/PausableV1/Internal.daml
Daml contract source - OpenZeppelin/canton-contracts/packages/security/pausable-v1/daml/OpenZeppelin/PausableV1/Internal.daml -- | Internal helpers for OpenZeppelin.PausableV1. module OpenZeppelin.PausableV1.Internal where import DA.Fail (FailureCategory, FailureStatus (..)) import qualifi
Code
OpenZeppelin/canton-contracts: packages/security/pausable-v1/README.md
Pausable V1 The guards and failure statuses for the Pausable interface in openzeppelin-api-pausable-v1. | Field | Value | |---|---| | Package | openzeppelin-pausable-v1 | | Public module | OpenZeppelin.PausableV1 | | Version | 0.1.0 | | Depends on | openzeppelin-a
Code
OpenZeppelin/canton-contracts: packages/token/token-cip112-types-v1/daml/OpenZeppelin/Token/Cip112/TypesV1.daml
Daml contract source - OpenZeppelin/canton-contracts/packages/token/token-cip112-types-v1/daml/OpenZeppelin/Token/Cip112/TypesV1.daml -- | The records a CIP-0112 registry's templates store: the rules contract's -- configuration and the payloads of pending transfer instructions and -- allocat
Code
OpenZeppelin/canton-contracts: packages/token/token-cip112-types-v1/README.md
Token CIP-0112 V1 types The records a CIP-0112 (Token Standard V2) registry's templates store. | Field | Value | |---|---| | Package | openzeppelin-token-cip112-types-v1 | | Public module | OpenZeppelin.Token.Cip112.TypesV1 | | Version | 0.1.0 | | Status | Pre-release; unaudited | What it
Code
OpenZeppelin/canton-contracts: packages/token/token-cip112-utils/daml/OpenZeppelin/Token/Cip112/Utils/Allocation.daml
Daml contract source - OpenZeppelin/canton-contracts/packages/token/token-cip112-utils/daml/OpenZeppelin/Token/Cip112/Utils/Allocation.daml -- Copyright (c) 2026 OpenZeppelin -- Copyright (c) 2024 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. -- SPDX-License-Id
Code
OpenZeppelin/canton-contracts: packages/token/token-cip112-utils/daml/OpenZeppelin/Token/Cip112/Utils/Holding.daml
Daml contract source - OpenZeppelin/canton-contracts/packages/token/token-cip112-utils/daml/OpenZeppelin/Token/Cip112/Utils/Holding.daml -- Copyright (c) 2026 OpenZeppelin -- Copyright (c) 2024 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. -- SPDX-License-Ident
Code
OpenZeppelin/canton-contracts: packages/token/token-cip112-utils/daml/OpenZeppelin/Token/Cip112/Utils/Registry.daml
Daml contract source - OpenZeppelin/canton-contracts/packages/token/token-cip112-utils/daml/OpenZeppelin/Token/Cip112/Utils/Registry.daml -- | Registry workflow: the settlement-factory body and the admin mint and -- cleanup operations a rules contract exposes as choices. module OpenZeppelin.
Code
OpenZeppelin/canton-contracts: packages/token/token-cip112-utils/daml/OpenZeppelin/Token/Cip112/Utils/Transfer.daml
Daml contract source - OpenZeppelin/canton-contracts/packages/token/token-cip112-utils/daml/OpenZeppelin/Token/Cip112/Utils/Transfer.daml -- Copyright (c) 2026 OpenZeppelin -- Copyright (c) 2024 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. -- SPDX-License-Iden
Code
OpenZeppelin/canton-contracts: packages/token/token-cip112-utils/README.md
Token CIP-0112 utils The choice bodies of a CIP-0112 (Token Standard V2) registry as plain functions, with every template decision left to the caller. | Field | Value | |---|---| | Package | openzeppelin-token-cip112-utils | | Public modules | OpenZeppelin.Token.Cip112.Utils.Holding, .Transfe
Code
OpenZeppelin/canton-contracts: packages/token/token-cip112-v1/daml/OpenZeppelin/Token/Cip112/V1/Allocation.daml
Daml contract source - OpenZeppelin/canton-contracts/packages/token/token-cip112-v1/daml/OpenZeppelin/Token/Cip112/V1/Allocation.daml -- | The default allocation template: an AllocationState payload whose -- choices delegate to the utils package. module OpenZeppelin.Token.Cip112.V1.Allocat
Code
OpenZeppelin/canton-contracts: packages/token/token-cip112-v1/daml/OpenZeppelin/Token/Cip112/V1/Base.daml
Daml contract source - OpenZeppelin/canton-contracts/packages/token/token-cip112-v1/daml/OpenZeppelin/Token/Cip112/V1/Base.daml -- | The event-log host shared by the default templates. module OpenZeppelin.Token.Cip112.V1.Base where import Splice.Api.Token.MetadataV1 import Splice.Api.Token.T
Code
OpenZeppelin/canton-contracts: packages/token/token-cip112-v1/daml/OpenZeppelin/Token/Cip112/V1/Holding.daml
Daml contract source - OpenZeppelin/canton-contracts/packages/token/token-cip112-v1/daml/OpenZeppelin/Token/Cip112/V1/Holding.daml -- Copyright (c) 2026 OpenZeppelin -- Copyright (c) 2024 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. -- SPDX-License-Identifier:
Code
OpenZeppelin/canton-contracts: packages/token/token-cip112-v1/daml/OpenZeppelin/Token/Cip112/V1/Registry.daml
Daml contract source - OpenZeppelin/canton-contracts/packages/token/token-cip112-v1/daml/OpenZeppelin/Token/Cip112/V1/Registry.daml -- Copyright (c) 2026 OpenZeppelin -- Copyright (c) 2024 Digital Asset (Switzerland) GmbH and/or its affiliates. All rights reserved. -- SPDX-License-Identifier
Code
OpenZeppelin/canton-contracts: packages/token/token-cip112-v1/daml/OpenZeppelin/Token/Cip112/V1/Transfer.daml
Daml contract source - OpenZeppelin/canton-contracts/packages/token/token-cip112-v1/daml/OpenZeppelin/Token/Cip112/V1/Transfer.daml -- | The default transfer-instruction template: a TransferInstructionState -- payload whose choices delegate to the utils package. module OpenZeppelin.Token.C
Code
OpenZeppelin/canton-contracts: packages/token/token-cip112-v1/integration-guide.md
Integration guide How to deploy openzeppelin-token-cip112-v1, together with the openzeppelin-token-cip112-types-v1 and openzeppelin-token-cip112-utils packages it depends on, across participants and drive it from wallets and settlement apps. Adoption basics — build, dependency, module import
Code
OpenZeppelin/canton-contracts: packages/token/token-cip112-v1/README.md
Token CIP-0112 V1 A CIP-0112-compliant token implementation built against the Token Standard V2 (TSv2) interfaces. It provides holdings, transfer instructions, allocations, registry rules, and event logging as ready-to-use templates. The templates store the records of openzeppelin-token-cip112-ty
Code
OpenZeppelin/canton-contracts: README.md
OpenZeppelin Contracts for Canton [![Choice Coverage](https://github.com/OpenZeppelin/canton-contracts/actions/workflows/test.yml/
Code
OpenZeppelin/canton-contracts: RELEASING.md
Releasing packages The release process will be defined and validated as part of preparing the first package release. It will cover package versioning, validation, DAR publication and provenance, compatibility or migration evidence, and operator guidance. License files A DAR has no place for lic
Code
OpenZeppelin/canton-contracts: SECURITY.md
Security policy Security response OpenZeppelin publishes source code and versioned DAR artifacts, but does not operate or control adopter participant nodes. When a vulnerability is identified, OpenZeppelin will investigate affected package IDs, publish a corrected release where technically poss
Code
OpenZeppelin/canton-contracts: test/api-pausable-v1-test/daml/OpenZeppelin/Api/PausableV1Test.daml
Daml contract source - OpenZeppelin/canton-contracts/test/api-pausable-v1-test/daml/OpenZeppelin/Api/PausableV1Test.daml -- | Tests for OpenZeppelin.Api.PausableV1: the view, read through the -- interface with no dependency on the function package. module OpenZeppelin.Api.PausableV1Test wh
Code
OpenZeppelin/canton-contracts: test/api-pausable-v1-test/daml/OpenZeppelin/Api/PausableV1TestFixtures.daml
Daml contract source - OpenZeppelin/canton-contracts/test/api-pausable-v1-test/daml/OpenZeppelin/Api/PausableV1TestFixtures.daml -- | Consumer fixture: a template that implements Pausable and flips its own -- flag, with no dependency on the function package. module OpenZeppelin.Api.Pausabl
Showing 391 to 420 of 742Search all sources →