-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #123 from Supercolony-net/release/release-1.8.0
Release v1.8.0
- Loading branch information
Showing
296 changed files
with
1,552 additions
and
1,425 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -14,7 +14,7 @@ jobs: | |
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
node-version: '16.x' | ||
- name: Test Build | ||
run: | | ||
cd docs | ||
|
@@ -33,7 +33,7 @@ jobs: | |
- uses: actions/checkout@v1 | ||
- uses: actions/setup-node@v1 | ||
with: | ||
node-version: '12.x' | ||
node-version: '16.x' | ||
- uses: webfactory/[email protected] | ||
with: | ||
ssh-private-key: ${{ secrets.GH_PAGES_DEPLOY }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,7 @@ | ||
[workspace] | ||
members = [ | ||
"contracts", | ||
"utils/brush_lang", | ||
"utils/brush_derive", | ||
"lang", | ||
] | ||
|
||
exclude = [ | ||
|
@@ -12,39 +11,66 @@ exclude = [ | |
] | ||
|
||
[package] | ||
name = "brush" | ||
version = "1.7.1" | ||
name = "openbrush" | ||
version = "1.8.0" | ||
authors = ["Supercolony <[email protected]>"] | ||
edition = "2018" | ||
|
||
license = "MIT" | ||
readme = "README.md" | ||
repository = "https://github.com/Supercolony-net/openbrush-contracts" | ||
documentation = "https://docs.openbrush.io" | ||
homepage = "https://supercolony.net" | ||
description = "OpenBrush library for smart contract development on ink!." | ||
keywords = ["wasm", "supercolony", "smart-contracts", "blockchain", "ink"] | ||
categories = ["no-std", "embedded"] | ||
include = ["Cargo.toml", "src/**/*.rs"] | ||
|
||
[dependencies] | ||
contracts = { path = "./contracts", default-features = false } | ||
brush_lang = { path = "./utils/brush_lang", default-features = false } | ||
ink_primitives = { version = "~3.2.0", default-features = false } | ||
ink_metadata = { version = "~3.2.0", default-features = false, features = ["derive"], optional = true } | ||
ink_env = { version = "~3.2.0", default-features = false } | ||
ink_storage = { version = "~3.2.0", default-features = false } | ||
ink_lang = { version = "~3.2.0", default-features = false } | ||
ink_prelude = { version = "~3.2.0", default-features = false } | ||
|
||
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } | ||
scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } | ||
|
||
openbrush_contracts = { version = "~1.8.0", path = "contracts", default-features = false } | ||
openbrush_lang = { version = "~1.8.0", path = "lang", default-features = false } | ||
|
||
[lib] | ||
name = "brush" | ||
path = "lib.rs" | ||
name = "openbrush" | ||
path = "src/lib.rs" | ||
crate-type = [ | ||
"rlib", | ||
] | ||
|
||
[features] | ||
default = ["std"] | ||
std = [ | ||
"contracts/std", | ||
"brush_lang/std", | ||
"ink_metadata/std", | ||
"ink_env/std", | ||
"ink_storage/std", | ||
"ink_primitives/std", | ||
"scale/std", | ||
"scale-info/std", | ||
|
||
"openbrush_contracts/std", | ||
"openbrush_lang/std", | ||
] | ||
psp22 = ["contracts/psp22"] | ||
psp34 = ["contracts/psp34"] | ||
psp1155 = ["contracts/psp1155"] | ||
ownable = ["contracts/ownable"] | ||
access_control = ["contracts/access_control"] | ||
payment_splitter = ["contracts/payment_splitter"] | ||
reentrancy_guard = ["contracts/reentrancy_guard"] | ||
pausable = ["contracts/pausable"] | ||
timelock_controller = ["contracts/timelock_controller"] | ||
proxy = ["contracts/proxy"] | ||
diamond = ["contracts/diamond"] | ||
psp22 = ["openbrush_contracts/psp22"] | ||
psp34 = ["openbrush_contracts/psp34"] | ||
psp1155 = ["openbrush_contracts/psp1155"] | ||
ownable = ["openbrush_contracts/ownable"] | ||
access_control = ["openbrush_contracts/access_control"] | ||
payment_splitter = ["openbrush_contracts/payment_splitter"] | ||
reentrancy_guard = ["openbrush_contracts/reentrancy_guard"] | ||
pausable = ["openbrush_contracts/pausable"] | ||
timelock_controller = ["openbrush_contracts/timelock_controller"] | ||
proxy = ["openbrush_contracts/proxy"] | ||
diamond = ["openbrush_contracts/diamond"] | ||
|
||
[profile.release] | ||
panic = "abort" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,36 @@ | ||
[package] | ||
name = "contracts" | ||
version = "1.7.1" | ||
name = "openbrush_contracts" | ||
version = "1.8.0" | ||
authors = ["Supercolony <[email protected]>"] | ||
edition = "2021" | ||
|
||
license = "MIT" | ||
readme = "README.md" | ||
repository = "https://github.com/Supercolony-net/openbrush-contracts" | ||
documentation = "https://docs.openbrush.io" | ||
homepage = "https://supercolony.net" | ||
description = "Reusable implementations of contracts and traits for interaction with them." | ||
keywords = ["wasm", "supercolony", "smart-contracts", "blockchain", "ink"] | ||
categories = ["no-std", "embedded"] | ||
include = ["Cargo.toml", "src/**/*.rs"] | ||
|
||
[dependencies] | ||
ink_primitives = { version = "3.2.0", default-features = false } | ||
ink_metadata = { version = "3.2.0", default-features = false, features = ["derive"], optional = true } | ||
ink_env = { version = "3.2.0", default-features = false } | ||
ink_storage = { version = "3.2.0", default-features = false } | ||
ink_lang = { version = "3.2.0", default-features = false } | ||
ink_prelude = { version = "3.2.0", default-features = false } | ||
ink_primitives = { version = "~3.2.0", default-features = false } | ||
ink_metadata = { version = "~3.2.0", default-features = false, features = ["derive"], optional = true } | ||
ink_env = { version = "~3.2.0", default-features = false } | ||
ink_storage = { version = "~3.2.0", default-features = false } | ||
ink_lang = { version = "~3.2.0", default-features = false } | ||
ink_prelude = { version = "~3.2.0", default-features = false } | ||
|
||
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] } | ||
scale-info = { version = "2", default-features = false, features = ["derive"], optional = true } | ||
|
||
derive = { path = "./derive" } | ||
brush = { package = "brush_lang", path = "../utils/brush_lang", default-features = false } | ||
derive = { package = "openbrush_contracts_derive", version = "1.8.0", path = "derive" } | ||
openbrush = { version = "~1.8.0", package = "openbrush_lang", path = "../lang", default-features = false } | ||
|
||
[lib] | ||
name = "contracts" | ||
path = "lib.rs" | ||
name = "openbrush_contracts" | ||
path = "src/lib.rs" | ||
crate-type = [ | ||
"rlib", | ||
] | ||
|
@@ -35,7 +45,7 @@ std = [ | |
"scale/std", | ||
"scale-info/std", | ||
|
||
"brush/std", | ||
"openbrush/std", | ||
] | ||
psp22 = [ | ||
"derive/psp22", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,9 @@ | ||
## Overview | ||
|
||
`traits` contains definitions of traits(interfaces) for the popular contracts. | ||
[`traits`](src/traits) contains definitions of traits(interfaces) for the popular contracts. | ||
Anyone can import the trait and use it to do cross-contract calls without | ||
knowing the implementation of the contract. | ||
|
||
This folder contains the implementation of popular contracts. | ||
Anyone can re-use the implementation after importing the `brush` crate, enabling | ||
Anyone can re-use the implementation after importing the `openbrush` crate, enabling | ||
the desired feature(s) of the contract, and implementing all required traits. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,26 @@ | ||
[package] | ||
name = "derive" | ||
version = "1.7.1" | ||
name = "openbrush_contracts_derive" | ||
version = "1.8.0" | ||
authors = ["Supercolony <[email protected]>"] | ||
edition = "2021" | ||
|
||
license = "MIT" | ||
repository = "https://github.com/Supercolony-net/openbrush-contracts" | ||
documentation = "https://docs.openbrush.io" | ||
homepage = "https://supercolony.net" | ||
description = "Derives for storage data of each contract in the openbrush." | ||
keywords = ["wasm", "supercolony", "smart-contracts", "blockchain", "ink"] | ||
categories = ["no-std", "embedded"] | ||
include = ["Cargo.toml", "lib.rs"] | ||
|
||
[dependencies] | ||
syn = { version = "1.0" } | ||
quote = "1.0" | ||
proc-macro2 = "1" | ||
brush_derive = { path = "../../utils/brush_derive" } | ||
openbrush = { package = "openbrush_lang", version = "1.8.0", path = "../../lang" } | ||
|
||
[lib] | ||
name = "derive" | ||
name = "openbrush_contracts_derive" | ||
path = "lib.rs" | ||
proc-macro = true | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
Oops, something went wrong.