Skip to content

Commit

Permalink
Fix broken links to examples
Browse files Browse the repository at this point in the history
  • Loading branch information
bitzoic committed Dec 21, 2023
1 parent 69637fd commit 7ab50cc
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 19 deletions.
16 changes: 8 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,41 +70,41 @@ Minimal example implementations for every standard can be found in the [`example

#### SRC-20; Token Standard Examples

##### - [Single Native Assset](./examples/src_20/single_asset/src/single_asset.sw)
##### - [Single Native Assset](./examples/src20-token/single_asset/src/single_asset.sw)

Example of the SRC-20 implementation where a contract contains a single asset with one `SubId`. This implementation is recommended for users that intend to deploy a single asset with their contract.

##### - [Multi Native Asset](./examples/src_20/multi_asset/src/multi_asset.sw)
##### - [Multi Native Asset](./examples/src20-token/multi_asset/src/multi_asset.sw)

Example of the SRC-20 implementation where a contract contains multiple assets with differing `SubId`s. This implementation is recommended for users that intend to deploy multiple assets with their contract.

#### SRC-3; Mint and Burn Standard Examples

##### - [Single Native Asset](./examples/src_3/single_asset/src/single_asset.sw)
##### - [Single Native Asset](./examples/src3-mint-burn/single_asset/src/single_asset.sw)

Example of the SRC-3 implementation where a contract only mints a single asset with one `SubId`.

##### - [Multi Native Asset](./examples/src_3/multi_asset/src/multi_asset.sw)
##### - [Multi Native Asset](./examples/src3-mint-burn/multi_asset/src/multi_asset.sw)

Example of the SRC-3 implementation where a contract mints multiple assets with differing `SubId`s.

#### SRC-5; Ownership Examples

##### - [Uninitalized](./examples/src_5/uninitialized_example/src/uninitialized_example.sw)
##### - [Uninitalized](./examples/src5-ownership/uninitialized_example/src/uninitialized_example.sw)

Example of the SRC-5 implementation where a contract does not have an owner set at compile time with the intent to set it during runtime.

##### - [Initialized](./examples/src_5/initialized_example/src/initialized_example.sw)
##### - [Initialized](./examples/src5-ownership/initialized_example/src/initialized_example.sw)

Example of the SRC-5 implementation where a contract has an owner set at compile time.

#### SRC-7; Arbitrary Asset Metadata Standard Examples

##### - [Single Native Asset](./examples/src_7/single_asset/src/single_asset.sw)
##### - [Single Native Asset](./examples/src7-metadata/single_asset/src/single_asset.sw)

Example of the SRC-7 implementation where metadata exists for only a single asset with one `SubId`.

##### - [Mutli Native Asset](./examples/src_7/multi_asset/src/multi_asset.sw)
##### - [Mutli Native Asset](./examples/src7-metadata/multi_asset/src/multi_asset.sw)

Example of the SRC-7 implementation where metadata exists for multiple assets with differing `SubId`s.

Expand Down
4 changes: 2 additions & 2 deletions standards/src20-token/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,10 +87,10 @@ abi MyToken {

# Example Implementation

## [Single Native Assset](../../examples/src_20/single_asset/src/single_asset.sw)
## [Single Native Assset](../../examples/src20-token/single_asset/src/single_asset.sw)

Example of the SRC-20 implementation where a contract contains a single asset with one `SubId`. This implementation is recommended for users that intend to deploy a single asset with their contract.

## [Multi Native Asset](../../examples/src_20/multi_asset/src/multi_asset.sw)
## [Multi Native Asset](../../examples/src20-token/multi_asset/src/multi_asset.sw)

Example of the SRC-20 implementation where a contract contains multiple assets with differing `SubId`s. This implementation is recommended for users that intend to deploy multiple assets with their contract.
4 changes: 2 additions & 2 deletions standards/src3-mint-burn/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,10 +63,10 @@ abi MySRC3Token {

# Example Implementation

## [Single Native Asset](../../examples/src_3/single_asset/src/single_asset.sw)
## [Single Native Asset](../../examples/src3-mint-burn/single_asset/src/single_asset.sw)

Example of the SRC-3 implementation where a contract only mints a single asset with one `SubId`.

## [Multi Native Asset](../../examples/src_3/multi_asset/src/multi_asset.sw)
## [Multi Native Asset](../../examples/src3-mint-burn/multi_asset/src/multi_asset.sw)

Example of the SRC-3 implementation where a contract mints multiple assets with differing `SubId`s.
4 changes: 2 additions & 2 deletions standards/src5-ownership/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,10 +83,10 @@ abi SRC5 {

# Example Implementation

## [Uninitalized](../../examples/src_5/uninitialized_example/src/uninitialized_example.sw)
## [Uninitalized](../../examples/src5-ownership/uninitialized_example/src/uninitialized_example.sw)

Example of the SRC-5 implementation where a contract does not have an owner set at compile time with the intent to set it during runtime.

## [Initialized](../../examples/src_5/initialized_example/src/initialized_example.sw)
## [Initialized](../../examples/src5-ownership/initialized_example/src/initialized_example.sw)

Example of the SRC-5 implementation where a contract has an owner set at compile time.
6 changes: 3 additions & 3 deletions standards/src6-vault/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -172,14 +172,14 @@ abi SRC6 {

# Example Implementation

## [Multi Token Vault](../../examples/src_6/multi_token_vault/)
## [Multi Token Vault](../../examples/src6-vault/multi_token_vault/)

A barebones implementation of the vault standard that supports any number of sub vaults being created for every AssetId.

## [Single Token Vault](../../examples/src_6/single_token_vault/)
## [Single Token Vault](../../examples/src6-vault/single_token_vault/)

A barebones implemenation of the vault standard demonstrating how to constrict deposits and withdrawals to a single AssetId.

## [Single Token Single Sub Vault](../../examples/src_6/single_token_single_sub_vault/)
## [Single Token Single Sub Vault](../../examples/src6-vault/single_token_single_sub_vault/)

A barebones implementation of the vault standard demonstrating how to constrict deposits and withdrawals to a single AssetId, and to a single Sub vault.
4 changes: 2 additions & 2 deletions standards/src7-metadata/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -74,10 +74,10 @@ abi SRC7Metadata {

# Example Implementation

## [Single Native Asset](../../examples/src_7/single_asset/src/single_asset.sw)
## [Single Native Asset](../../examples/src7-metadata/single_asset/src/single_asset.sw)

Example of the SRC-7 implementation where metadata exists for only a single asset with one `SubId`.

## [Mutli Native Asset](../../examples/src_7/multi_asset/src/multi_asset.sw)
## [Mutli Native Asset](../../examples/src7-metadata/multi_asset/src/multi_asset.sw)

Example of the SRC-7 implementation where metadata exists for multiple assets with differing `SubId`s.

0 comments on commit 7ab50cc

Please sign in to comment.