Skip to content

Commit

Permalink
Update doc folder
Browse files Browse the repository at this point in the history
  • Loading branch information
xgreenx committed Apr 5, 2022
1 parent d8a8c05 commit 3d8c0c6
Show file tree
Hide file tree
Showing 17 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion docs/docs/smart-contracts/PSP1155/psp1155.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t
After you need to enable default implementation of PSP1155 via `brush` feature.

```toml
brush = { tag = "v1.5.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp1155"] }
brush = { tag = "v1.6.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp1155"] }
```

## Step 2: Add imports and enable unstable feature
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/smart-contracts/PSP22/Extensions/capped.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t
After you need to enable default implementation of PSP22 via `brush` features.

```toml
brush = { tag = "v1.5.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22"] }
brush = { tag = "v1.6.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22"] }
```

## Step 2: Add imports and enable unstable feature
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/smart-contracts/PSP22/Extensions/pausable.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t
After you need to enable default implementation of PSP22 and Pausable via `brush` features.

```toml
brush = { tag = "v1.5.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22", "pausable"] }
brush = { tag = "v1.6.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22", "pausable"] }
```

## Step 2: Add imports and enable unstable feature
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 @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t
After you need to enable default implementation of PSP22 via `brush` features.

```toml
brush = { tag = "v1.5.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22"] }
brush = { tag = "v1.6.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22"] }
```

## Step 2: Add imports and enable unstable feature
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 @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t
After you need to enable default implementation of PSP22 via `brush` features.

```toml
brush = { tag = "v1.5.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22"] }
brush = { tag = "v1.6.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22"] }
```

## Step 2: Add imports and enable unstable feature
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/smart-contracts/PSP22/psp22.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t
After you need to enable default implementation of PSP22 via `brush` features.

```toml
brush = { tag = "v1.5.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22"] }
brush = { tag = "v1.6.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22"] }
```

## Step 2: Add imports and enable unstable feature
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/smart-contracts/PSP34/Extensions/metadata.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t
After you need to enable default implementation of PSP34 via `brush` features.

```toml
brush = { tag = "v1.5.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp34"] }
brush = { tag = "v1.6.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp34"] }
```

## Step 2: Add imports and enable unstable feature
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/smart-contracts/PSP34/psp34.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t
After you need to enable default implementation of PSP34 via `brush` features.

```toml
brush = { tag = "v1.5.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp34"] }
brush = { tag = "v1.6.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp34"] }
```

## Step 2: Add imports and enable unstable feature
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 @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t
After you need to enable default implementation of Access Control via `brush` features.

```toml
brush = { tag = "v1.5.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["access_control"] }
brush = { tag = "v1.6.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["access_control"] }
```

## Step 2: Add imports and enable unstable feature
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/smart-contracts/diamond.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t
After you need to enable default implementation of Diamond Standard via `brush` features.

```toml
brush = { tag = "v1.5.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["diamond"] }
brush = { tag = "v1.6.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["diamond"] }
```

## Step 2: Add imports and enable unstable feature
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/smart-contracts/overview.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ scale = { package = "parity-scale-codec", version = "3", default-features = fals
scale-info = { version = "2", default-features = false, features = ["derive"], optional = true }

# Brush dependency
brush = { tag = "v1.5.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false }
brush = { tag = "v1.6.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false }

[features]
default = ["std"]
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/smart-contracts/ownable.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t
After you need to enable default implementation of Ownable via `brush` features.

```toml
brush = { tag = "v1.5.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["ownable"] }
brush = { tag = "v1.6.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["ownable"] }
```

## Step 2: Add imports and enable unstable feature
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/smart-contracts/pausable.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t
After you need to enable default implementation of Pausable via `brush` features.

```toml
brush = { tag = "v1.5.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["pausable"] }
brush = { tag = "v1.6.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["pausable"] }
```

## Step 2: Add imports and enable unstable feature
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/smart-contracts/payment-splitter.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t
After you need to enable default implementation of Payment Splitter via `brush` features.

```toml
brush = { tag = "v1.5.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["payment_splitter"] }
brush = { tag = "v1.6.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["payment_splitter"] }

# payment-splitter uses dividing inside, so your version of rust can require you to disable check overflow.
[profile.dev]
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/smart-contracts/proxy.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t
After you need to enable default implementation of Proxy via `brush` features.

```toml
brush = { tag = "v1.5.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["proxy"] }
brush = { tag = "v1.6.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["proxy"] }
```

## Step 2: Add imports and enable unstable feature
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 @@ -20,7 +20,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t
After you need to enable default implementation of Reentrancy Guard via `brush` features.

```toml
brush = { tag = "v1.5.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["reentrancy_guard"] }
brush = { tag = "v1.6.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["reentrancy_guard"] }
```

### Step 2: Add imports
Expand Down
2 changes: 1 addition & 1 deletion docs/docs/smart-contracts/timelock-controller.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Include `brush` as dependency in the cargo file or you can use [default `Cargo.t
After you need to enable default implementation of Timelock Controller via `brush` features.

```toml
brush = { tag = "v1.5.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["timelock_controller"] }
brush = { tag = "v1.6.0", git = "https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["timelock_controller"] }
```

## Step 2: Add imports and enable unstable feature
Expand Down

0 comments on commit 3d8c0c6

Please sign in to comment.