Skip to content

Commit

Permalink
fixes in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
coreggon11 committed Dec 7, 2021
1 parent dba1323 commit 7453014
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/docs/smart-contracts/PSP22/Extensions/metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sidebar_position: 1
title: PSP22 Metadata
---

This example shows how you can reuse the implementation of [PSP22](https://github.com/Supercolony-net/openbrush-contracts/tree/main/contracts/token/psp22) token with the [PSP22Metadata](https://github.com/Supercolony-net/openbrush-contracts/tree/main/contracts/token/psp22/extensions/Metadata.rs) extension.
This example shows how you can reuse the implementation of [PSP22](https://github.com/Supercolony-net/openbrush-contracts/tree/main/contracts/token/psp22) token with the [PSP22Metadata](https://github.com/Supercolony-net/openbrush-contracts/tree/main/contracts/token/psp22/src/extensions/metadata.rs) extension.

## Step 1: Add imports

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/smart-contracts/PSP22/Extensions/wrapper.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sidebar_position: 4
title: PSP22 Wrapper
---

This example shows how you can reuse the implementation of [PSP22](https://github.com/Supercolony-net/openbrush-contracts/tree/main/contracts/token/psp22) token with [PSP22 Wrapper](https://github.com/Supercolony-net/openbrush-contracts/tree/main/contracts/token/psp22/extensions/wrapper) extension, which allows you to wrap your `PSP22` token in a `PSP22Wrapper` token which can be used for example for governance.
This example shows how you can reuse the implementation of [PSP22](https://github.com/Supercolony-net/openbrush-contracts/tree/main/contracts/token/psp22) token with [PSP22 Wrapper](https://github.com/Supercolony-net/openbrush-contracts/tree/main/contracts/token/psp22/src/extensions/wrapper.rs) extension, which allows you to wrap your `PSP22` token in a `PSP22Wrapper` token which can be used for example for governance.

## Step 1: Include dependencies and add imports

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/smart-contracts/PSP22/Utils/token-timelock.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ sidebar_position: 1
title: PSP22 Token Timelock
---

This example shows how you can reuse the implementation of [PSP22 Token Timelock](https://github.com/Supercolony-net/openbrush-contracts/tree/main/contracts/token/psp22/utils/token_timelock) utility for [PSP22](https://github.com/Supercolony-net/openbrush-contracts/tree/main/contracts/token/psp22). This contract will lock user's `PSP22` tokens until the time specified, when they can withdraw them.
This example shows how you can reuse the implementation of [PSP22 Token Timelock](https://github.com/Supercolony-net/openbrush-contracts/tree/main/contracts/token/psp22/src/utils/token_timelock.rs) utility for [PSP22](https://github.com/Supercolony-net/openbrush-contracts/tree/main/contracts/token/psp22). This contract will lock user's `PSP22` tokens until the time specified, when they can withdraw them.

## Step 1: Include dependencies and add imports

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/smart-contracts/access-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,4 +129,4 @@ pub mod my_access_control {
}
```

You can check the example of usage of [Access Control](https://github.com/Supercolony-net/openbrush-contracts/tree/main/examples/access-control).
You can check the example of usage of [Access Control](https://github.com/Supercolony-net/openbrush-contracts/tree/main/examples/access_control).
2 changes: 1 addition & 1 deletion docs/docs/smart-contracts/ownable.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ Declare storage struct and declare the field related to `OwnableStorage` trait.
#[derive(Default, OwnableStorage)]
pub struct MyOwnable {
#[OwnableStorageField]
ownale: OwnableData,
ownable: OwnableData,
}
```

Expand Down
2 changes: 1 addition & 1 deletion docs/docs/smart-contracts/reentrancy-guard.md
Original file line number Diff line number Diff line change
Expand Up @@ -237,6 +237,6 @@ std = [

## Testing

For testing, you can run the [integration test](https://github.com/Supercolony-net/openbrush-contracts/blob/main/tests/reentrancy_guard.tests.ts), or you can deploy both
For testing, you can run the [integration test](https://github.com/Supercolony-net/openbrush-contracts/blob/main/tests/reentrancy-guard.tests.ts), or you can deploy both
contracts and call `call_flip_on_me` on `MyFlipper`
account providing account id of `FlipOnMe` contract as an argument.

0 comments on commit 7453014

Please sign in to comment.