Skip to content
Merged
Changes from 2 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
e6cc4fb
Update copyright and scope in ccf_specs.md
fxamacker Oct 22, 2024
6b39848
Add function-value.purity in CDDL
fxamacker Oct 22, 2024
f1702cd
Add attachment and attachment-type in CDDL
fxamacker Oct 22, 2024
f93d24f
Rename restricted-type to intersection-type in CDDL
fxamacker Oct 23, 2024
d72b68c
Add inclusiverange and inclusiverange-type in CDDL
fxamacker Oct 23, 2024
305c1ba
Add entitlement types and type values in CDDL
fxamacker Oct 23, 2024
1517dd7
Add workflow_dispatch to cddl.yml
fxamacker Oct 23, 2024
da5ac16
Fix CDDL syntax broken in prior commit
fxamacker Oct 23, 2024
c2cb8ae
Update simple-type-id enum in CDDL
fxamacker Oct 24, 2024
5e91602
Remove path-capability-value from CDDL
fxamacker Oct 24, 2024
22fa0dd
Mention attachment uses composite-value in CDDL
fxamacker Oct 24, 2024
e37a928
Update ccf_specs.md
fxamacker Jan 27, 2025
305d379
Reword positive integer as unsigned integer
fxamacker Mar 19, 2025
1e93503
Remove list of CBOR codecs
fxamacker Mar 20, 2025
ff0f0b6
Mention version encoding is outside scope of CCF Specs
fxamacker Mar 20, 2025
2e91178
Clarify some text and update "Why CBOR"
fxamacker Mar 20, 2025
7b13fb5
Remove a sentence in "Why CBOR"
fxamacker Mar 20, 2025
9f20441
Improve readability of text and fix typos
fxamacker Mar 21, 2025
c45d5bb
Clarify Deterministic CCF Encoding Reqs
fxamacker Mar 21, 2025
bf3d570
Update some text for consistency
fxamacker Mar 21, 2025
45d061b
Use key word "MUST" in a sentence for absolute requirement
fxamacker Mar 21, 2025
6703acb
Update document date
fxamacker Mar 27, 2025
1d5dd35
Update with changes from fxamacker/ccf_draft PR 103 and 104
fxamacker Mar 31, 2025
cf54d91
Clarify all examples in "CCF Examples"
fxamacker Mar 31, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 7 additions & 9 deletions ccf_specs.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,8 @@
# Cadence Compact Format (CCF)

Author: Faye Amacker
Status: RC3
Date: September 4, 2023
Revision: 20230904a
Version: 1.0.0
Date: October 22, 2024

## Abstract

Expand All @@ -15,21 +14,19 @@ CCF defines "Deterministic CCF Encoding Requirements" and makes it optional. CCF

CCF obsoletes [JSON-Cadence Data Interchange Format](https://developers.flow.com/cadence/json-cadence-spec) (JSON-CDC) for use cases that do not require JSON.

## Status of this Document

This document is a release candidate (RC3).

## Copyright Notice

Copyright (c) 2022-2023 Dapper Labs, Inc. and the persons identified as the document authors.
Copyright © 2022-2024 Flow Foundation and the persons identified as the document authors.

This document is licensed under the terms of the Apache License, Version 2.0. See [LICENSE](LICENSE) for more information.

## Scope

This document specifies Cadence Compact Format.

It is outside the scope of this document to specify individual CCF-based formats or protocols (e.g. events).
Some requirements defined in this document are explicitly specified as optional.

It is outside the scope of this document to specify individual CCF-based formats or protocols (e.g. events). For example, CCF-based formats or protocols MUST specify when encoders are required to emit CCF encodings that satisfy "Deterministic CCF Encoding Requirements".

## Introduction

Expand Down Expand Up @@ -1056,6 +1053,7 @@ function-value = [
]
]
return-type: type-value
purity: int
]

type-value = simple-type-value
Expand Down