Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update to CCF Specification 1.0 #7

Open
wants to merge 11 commits into
base: main
Choose a base branch
from
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