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

Include preview and crescendo and update token docs #645

Merged
merged 2 commits into from Mar 8, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
14 changes: 9 additions & 5 deletions docs/build/core-contracts/02-fungible-token.md
Expand Up @@ -6,11 +6,15 @@ sidebar_label: Fungible Token

The `FungibleToken` contract implements the Fungible Token Standard. It is the second contract ever deployed on Flow.

The `FungibleTokenMetadataViews` and `FungibleTokenSwitchboard` contracts
are also deployed to the same account as `FungibleToken`.

Source: [FungibleToken.cdc](https://github.com/onflow/flow-ft/blob/master/contracts/FungibleToken.cdc)

| Network | Contract Address |
| --------------- | -------------------- |
| Emulator | `0xee82856bf20e2aa6` |
| Testnet | `0x9a0766d93b6608b7` |
| Mainnet | `0xf233dcee88fe0abe` |
| Network | Contract Address |
| ----------------- | -------------------- |
| Emulator | `0xee82856bf20e2aa6` |
| PreviewNet | `0xa0225e7000ac82a9` |
| Testnet/Crescendo | `0x9a0766d93b6608b7` |
| Mainnet | `0xf233dcee88fe0abe` |

11 changes: 6 additions & 5 deletions docs/build/core-contracts/03-flow-token.md
Expand Up @@ -7,11 +7,12 @@ The `FlowToken` contract defines the FLOW network token.

Source: [FlowToken.cdc](https://github.com/onflow/flow-core-contracts/blob/master/contracts/FlowToken.cdc)

| Network | Contract Address |
| --------------- | -------------------- |
| Emulator | `0x0ae53cb6e3f42a79` |
| Testnet | `0x7e60df042a9c0868` |
| Mainnet | `0x1654653399040a61` |
| Network | Contract Address |
| ----------------- | -------------------- |
| Emulator | `0x0ae53cb6e3f42a79` |
| Previewnet | `0x4445e7ad11568276` |
| Testnet/Crescendo | `0x7e60df042a9c0868` |
| Mainnet | `0x1654653399040a61` |

# Transactions

Expand Down
11 changes: 6 additions & 5 deletions docs/build/core-contracts/04-service-account.md
Expand Up @@ -24,8 +24,9 @@ to execute/handle blocks at a given block height.

Source: [NodeVersionBeacon.cdc](https://github.com/onflow/flow-core-contracts/blob/master/contracts/NodeVersionBeacon.cdc)

| Network | Contract Address |
| --------------- | -------------------- |
| Emulator | `0xf8d6e0586b0a20c7` |
| Testnet | `0x8c5303eaa26202d6` |
| Mainnet | `0xe467b9dd11fa00df` |
| Network | Contract Address |
| ----------------- | -------------------- |
| Emulator | `0xf8d6e0586b0a20c7` |
| PreviewNet | `0xb6763b4399a888c8` |
| Testnet/Crescendo | `0x8c5303eaa26202d6` |
| Mainnet | `0xe467b9dd11fa00df` |
21 changes: 11 additions & 10 deletions docs/build/core-contracts/05-flow-fees.md
Expand Up @@ -7,19 +7,20 @@ The `FlowFees` contract is where all the collected flow fees are gathered.

Source: [FlowFees.cdc](https://github.com/onflow/flow-core-contracts/blob/master/contracts/FlowFees.cdc)

| Network | Contract Address |
| --------------- | -------------------- |
| Emulator | `0xe5a8b7f23e8b548f` |
| Testnet | `0x912d5440f7e3769e` |
| Mainnet | `0xf919ee77447b7497` |
| Network | Contract Address |
| ----------------- | -------------------- |
| Emulator | `0xe5a8b7f23e8b548f` |
| PreviewNet | `0xab086ce9cc29fc80` |
| Testnet/Crescendo | `0x912d5440f7e3769e` |
| Mainnet | `0xf919ee77447b7497` |


The `FlowStorageFees` contract defines the parameters and utility methods for storage fees.

Source: [FlowStorageFees.cdc](https://github.com/onflow/flow-core-contracts/blob/master/contracts/FlowStorageFees.cdc)

| Network | Contract Address |
| --------------- | -------------------- |
| Emulator | `0xf8d6e0586b0a20c7` |
| Testnet | `0x8c5303eaa26202d6` |
| Mainnet | `0xe467b9dd11fa00df` |
| Network | Contract Address |
| ---------------------------- | -------------------- |
| Emulator | `0xf8d6e0586b0a20c7` |
| Testnet/Previewnet/Crescendo | `0x8c5303eaa26202d6` |
| Mainnet | `0xe467b9dd11fa00df` |
11 changes: 6 additions & 5 deletions docs/build/core-contracts/06-staking-contract-reference.md
Expand Up @@ -9,11 +9,12 @@ The `FlowIDTableStaking` contract is the central table that manages staked nodes

Source: [FlowIDTableStaking.cdc](https://github.com/onflow/flow-core-contracts/blob/master/contracts/FlowIDTableStaking.cdc)

| Network | Contract Address |
| --------------- | -------------------- |
| Emulator | `0xf8d6e0586b0a20c7` |
| Testnet | `0x9eca2b38b18b5dfe` |
| Mainnet | `0x8624b52f9ddcd04a` |
| Network | Contract Address |
| ----------------- | -------------------- |
| Emulator | `0xf8d6e0586b0a20c7` |
| PreviewNet | `0xb6763b4399a888c8` |
| Testnet/Crescendo | `0x9eca2b38b18b5dfe` |
| Mainnet | `0x8624b52f9ddcd04a` |

# Transactions

Expand Down
11 changes: 6 additions & 5 deletions docs/build/core-contracts/07-epoch-contract-reference.md
Expand Up @@ -15,11 +15,12 @@ Sources:
- [FlowClusterQC.cdc](https://github.com/onflow/flow-core-contracts/blob/master/contracts/epochs/FlowClusterQC.cdc)
- [FlowDKG.cdc](https://github.com/onflow/flow-core-contracts/blob/master/contracts/epochs/FlowDKG.cdc)

| Network | Contract Address |
|-----------------|----------------------|
| Emulator | `0xf8d6e0586b0a20c7` |
| Testnet | `0x9eca2b38b18b5dfe` |
| Mainnet | `0x8624b52f9ddcd04a` |
| Network | Contract Address |
|-------------------|----------------------|
| Emulator | `0xf8d6e0586b0a20c7` |
| PreviewNet | `0xb6763b4399a888c8` |
| Testnet/Crescendo | `0x9eca2b38b18b5dfe` |
| Mainnet | `0x8624b52f9ddcd04a` |

# Transactions

Expand Down
11 changes: 6 additions & 5 deletions docs/build/core-contracts/08-non-fungible-token.md
Expand Up @@ -8,8 +8,9 @@ All NFT contracts are encouraged to import and implement this standard.

Source: [NonFungibleToken.cdc](https://github.com/onflow/flow-nft/blob/master/contracts/NonFungibleToken.cdc)

| Network | Contract Address |
| --------------- | -------------------- |
| Emulator | `0xf8d6e0586b0a20c7` |
| Testnet | `0x631e88ae7f1d7c20` |
| Mainnet | `0x1d7e57aa55817448` |
| Network | Contract Address |
| ------------------| -------------------- |
| Emulator/Canary | `0xf8d6e0586b0a20c7` |
| PreviewNet | `0xb6763b4399a888c8` |
| Testnet/Crescendo | `0x631e88ae7f1d7c20` |
| Mainnet | `0x1d7e57aa55817448` |
10 changes: 6 additions & 4 deletions docs/build/core-contracts/09-nft-metadata.md
Expand Up @@ -10,10 +10,12 @@ It is deployed at the same address as the `NonFungibleToken` contract interface.

Source: [MetadataViews.cdc](https://github.com/onflow/flow-nft/blob/master/contracts/MetadataViews.cdc)

| Network | Contract Address |
| ---------- | -------------------- |
| Testnet | `0x631e88ae7f1d7c20` |
| Mainnet | `0x1d7e57aa55817448` |
| Network | Contract Address |
| ----------------- | -------------------- |
| Emulator | `0xf8d6e0586b0a20c7` |
| PreviewNet | `0xb6763b4399a888c8` |
| Testnet/Crescendo | `0x631e88ae7f1d7c20` |
| Mainnet | `0x1d7e57aa55817448` |

There exists a tool, [Flow NFT Catalog](https://flow-nft-catalog.com), which enables dapp developers the ability to unlock interoperability of your NFT collection across the Flow ecosystem. This will help make your NFT collection’s metadata more discoverable and interoperable.

Expand Down
5 changes: 5 additions & 0 deletions docs/build/core-contracts/10-nft-storefront.md
Expand Up @@ -4,6 +4,11 @@ title: NFT Storefront Smart Contract

## Primer

|Name|Testnet/Crescendo|Mainnet|
|----|----------------------------|-------|
|[NFTStorefront](https://github.com/onflow/nft-storefront/blob/main/contracts/NFTStorefront.cdc)|[0x94b06cfca1d8a476](https://testnet.flowdiver.io/contract/A.94b06cfca1d8a476.NFTStorefront)|[0x4eb8a10cb9f87357](https://www.flowdiver.io/contract/A.4eb8a10cb9f87357.NFTStorefront)|
|[NFTStorefrontV2 (recommended)](https://github.com/onflow/nft-storefront/blob/main/contracts/NFTStorefrontV2.cdc)|[0x2d55b98eb200daef](https://testnet.flowdiver.io/contract/A.2d55b98eb200daef.NFTStorefrontV2)|[0x4eb8a10cb9f87357](https://www.flowdiver.io/contract/A.4eb8a10cb9f87357.NFTStorefrontV2)|

The `NFTStorefrontV2` contract lets you create a *non-custodial Resource (NFT) marketplace* on the FLOW blockchain.

`NFTStorefrontV2` makes it simple for Sellers to list NFTs in dApp specific marketplaces. DApp developers leverage the APIs provided by the contract to manage listings being offered for sale and to transact NFT trades.
Expand Down
10 changes: 6 additions & 4 deletions docs/build/core-contracts/11-staking-collection.md
Expand Up @@ -20,10 +20,12 @@ See the [Staking Collection Docs](../../networks/staking/14-staking-collection.m

Source: [FlowStakingCollection.cdc](https://github.com/onflow/flow-core-contracts/blob/master/contracts/FlowStakingCollection.cdc)

| Network | Contract Address |
|------------|----------------------|
| Testnet | `0x95e019a17d0e23d7` |
| Mainnet | `0x8d0e87b65159ae63` |
| Network | Contract Address |
|------------------ |----------------------|
| Emulator | `0xf8d6e0586b0a20c7` |
| PreviewNet | `0xb6763b4399a888c8` |
| Testnet/Crescendo | `0x95e019a17d0e23d7` |
| Mainnet | `0x8d0e87b65159ae63` |

## Transactions

Expand Down
8 changes: 4 additions & 4 deletions docs/build/core-contracts/12-hybrid-custody.md
Expand Up @@ -9,7 +9,7 @@ The Account Linking contracts manage ChildAccounts to permit hybrid custody in s

You can see the docs for account linking [here](https://developers.flow.com/build/advanced-concepts/account-linking)

| Network | Contract Address |
|------------|----------------------|
| Testnet | [`0x294e44e1ec6993c6`](https://contractbrowser.com/account/0x294e44e1ec6993c6) |
| Mainnet | [`0xd8a7e05a7ac670c0`](https://contractbrowser.com/account/0xd8a7e05a7ac670c0) |
| Network | Contract Address |
|------------------------------|----------------------|
| Testnet/Crescendo | [`0x294e44e1ec6993c6`](https://contractbrowser.com/account/0x294e44e1ec6993c6) |
| Mainnet | [`0xd8a7e05a7ac670c0`](https://contractbrowser.com/account/0xd8a7e05a7ac670c0) |