Skip to content

Commit

Permalink
Merge pull request #45 from onflow/g-doc-edits
Browse files Browse the repository at this point in the history
  • Loading branch information
turbolent committed Feb 26, 2024
2 parents 7ea7e00 + ec9ec9e commit 1f833ac
Showing 1 changed file with 9 additions and 14 deletions.
23 changes: 9 additions & 14 deletions docs/cadence_migration_guide/core-contracts-guide.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -4,30 +4,26 @@ sidebar_position: 4
sidebar_label: Core Contracts Guide
---

# Protocol Smart Contracts in Cadence 1.0
## Protocol Smart Contracts in Cadence 1.0

In 2024, the network will be upgrading to Cadence 1.0.
In 2024, the network will be upgrading to Cadence 1.0.
In addition to many changes to the Cadence programming language and
the Cadence token standards, the flow protocol smart contracts
the Cadence token standards, the Flow Protocol smart contracts
are also being updated to be compatible with the changes.

All applications and smart contracts that interact with these contracts
will need to update their transactions and scripts in order to be compatible with the changes.

# Important Info
## Important Info

We are assuming that you are somewhat familiar with
[the Cadence 1.0 changes](https://forum.flow.com/t/update-on-cadence-1-0/5197)
and the changes to the fungible token standard for this document. Please
read those guides if you are curious about those changes.
This document assumes you have a basic understanding of the [Cadence 1.0 updates](https://forum.flow.com/t/update-on-cadence-1-0/5197) and modifications to the Fungible Token Standard. We encourage you to consult those guides for more details on these changes if you are interested.

The updated code for the Cadence 1.0 versions of the protocol smart contracts
is locaed in the [`stable-cadence` branch of the flow-core-contracts repo](https://github.com/onflow/flow-core-contracts/pull/319).
is located in the [`stable-cadence` branch of the flow-core-contracts repo](https://github.com/onflow/flow-core-contracts/pull/319).
Please look at the changes there to understand how the contracts have changed.
Every contract in the repo is changing.

In the latest version of the emulator, here are the import addresses
for all of the important contracts related to the protocol:
The import addresses for all key contracts associated with the protocol are provided in the latest emulator version:

| Contract | Emulator Import Address |
| --------------------------- | ----------------------- |
Expand All @@ -50,7 +46,6 @@ for all of the important contracts related to the protocol:
| `FlowEpoch` | `0xf8d6e0586b0a20c7` |
| `FlowStakingCollection` | `0xf8d6e0586b0a20c7` |

## Upgrade Guide

# Upgrade Guide

Coming soon!
Coming soon!

0 comments on commit 1f833ac

Please sign in to comment.