Skip to content

Commit

Permalink
Merge pull request #77 from Supercolony-net/version_1.3.0
Browse files Browse the repository at this point in the history
New release 1.3.0
  • Loading branch information
yarikbratashchuk authored Feb 7, 2022
2 parents 8d49fd9 + e9868b9 commit b3d6181
Show file tree
Hide file tree
Showing 55 changed files with 56 additions and 56 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ exclude = [

[package]
name = "brush"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <green.baneling@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion contracts/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "contracts"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <green.baneling@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion contracts/derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "derive"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <green.baneling@supercolony.net>"]
edition = "2018"

Expand Down
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.2.0", git = "/~https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp1155"] }
brush = { tag = "v1.3.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/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.2.0", git = "/~https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22", "pausable"] }
brush = { tag = "v1.3.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.2.0", git = "/~https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22"] }
brush = { tag = "v1.3.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.2.0", git = "/~https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22"] }
brush = { tag = "v1.3.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.2.0", git = "/~https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp22"] }
brush = { tag = "v1.3.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.2.0", git = "/~https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp34"] }
brush = { tag = "v1.3.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.2.0", git = "/~https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["psp34"] }
brush = { tag = "v1.3.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.2.0", git = "/~https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["access_control"] }
brush = { tag = "v1.3.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/example/data.md
Original file line number Diff line number Diff line change
Expand Up @@ -142,7 +142,7 @@ In the `Cargo.toml` of the derive folder you need to import `brush_derive` depen
syn = { version = "1.0" }
quote = "1.0"
proc-macro2 = "1"
brush_derive = { tag = "v1.2.0", git = "/~https://github.com/Supercolony-net/openbrush-contracts"}
brush_derive = { tag = "v1.3.0", git = "/~https://github.com/Supercolony-net/openbrush-contracts"}

[lib]
name = "point_derive"
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 @@ -25,7 +25,7 @@ scale = { package = "parity-scale-codec", version = "2", default-features = fals
scale-info = { version = "1", default-features = false, features = ["derive"], optional = true }

# Brush dependency
brush = { tag = "v1.2.0", git = "/~https://github.com/Supercolony-net/openbrush-contracts", default-features = false }
brush = { tag = "v1.3.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.2.0", git = "/~https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["ownable"] }
brush = { tag = "v1.3.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.2.0", git = "/~https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["pausable"] }
brush = { tag = "v1.3.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.2.0", git = "/~https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["payment_splitter"] }
brush = { tag = "v1.3.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/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.2.0", git = "/~https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["reentrancy_guard"] }
brush = { tag = "v1.3.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.2.0", git = "/~https://github.com/Supercolony-net/openbrush-contracts", default-features = false, features = ["timelock_controller"] }
brush = { tag = "v1.3.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
2 changes: 1 addition & 1 deletion example_project_structure/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lending_project"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <green.baneling@supercolony.net, dominik.krizo@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion example_project_structure/contracts/lending/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lending_contract"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <dominik.krizo@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion example_project_structure/contracts/loan/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "loan_contract"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <dominik.krizo@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion example_project_structure/contracts/shares/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "shares_contract"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <dominik.krizo@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion example_project_structure/contracts/stable_coin/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "stable_coin_contract"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <dominik.krizo@supercolony.net>"]
edition = "2018"

Expand Down
4 changes: 2 additions & 2 deletions example_project_structure/derive/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "lending_project_derive"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <dominik.krizo@supercolony.net>"]
edition = "2018"

Expand All @@ -10,7 +10,7 @@ quote = "1.0"
proc-macro2 = "1"

# In you code you can import `brush_derive` with the next line
#brush_derive = { tag = "v1.2.0", git = "/~https://github.com/Supercolony-net/openbrush-contracts", default-features = false }
#brush_derive = { tag = "v1.3.0", git = "/~https://github.com/Supercolony-net/openbrush-contracts", default-features = false }

brush_derive = { path = "../../utils/brush_derive" }

Expand Down
2 changes: 1 addition & 1 deletion examples/access_control/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_access_control"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <green.baneling@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/ownable/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_ownable"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <green.baneling@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/pausable/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_pausable"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <green.baneling@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/payment_splitter/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_payment_splitter"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <green.baneling@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/psp1155/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_psp1155"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <dominik.krizo@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/psp1155_extensions/burnable/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_psp1155_burnable"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <dominik.krizo@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/psp1155_extensions/metadata/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_psp1155_metadata"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <dominik.krizo@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/psp1155_extensions/mintable/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_psp1155_mintable"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <dominik.krizo@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/psp22/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_psp22"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <green.baneling@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/psp22_extensions/burnable/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_psp22_burnable"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <m.konstantinovna@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/psp22_extensions/capped/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_psp22_capped"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <dominik.krizo@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/psp22_extensions/flashmint/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_psp22_flashmint"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <dominik.krizo@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/psp22_extensions/metadata/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_psp22_metadata"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <m.konstantinovna@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/psp22_extensions/mintable/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_psp22_mintable"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <m.konstantinovna@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/psp22_extensions/pausable/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_psp22_pausable"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <dominik.krizo@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/psp22_extensions/wrapper/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_psp22_wrapper"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <dominik.krizo@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/psp22_utils/token_timelock/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_psp22_token_timelock"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <dominik.krizo@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/psp34/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_psp34"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <dominik.krizo@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/psp34_extensions/burnable/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_psp34_burnable"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <dominik.krizo@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/psp34_extensions/metadata/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_psp34_metadata"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <dominik.krizo@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/psp34_extensions/mintable/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "my_psp34_mintable"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <dominik.krizo@supercolony.net>"]
edition = "2018"

Expand Down
2 changes: 1 addition & 1 deletion examples/reentrancy_guard/flip_on_me/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "flip_on_me"
version = "1.2.0"
version = "1.3.0"
authors = ["Supercolony <green.baneling@supercolony.net>"]
edition = "2018"

Expand Down
Loading

0 comments on commit b3d6181

Please sign in to comment.