Skip to content

Commit

Permalink
Bump ink and ink_metadata vers to 4.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
deuszx committed Sep 1, 2023
1 parent 7dae08f commit 03b536a
Show file tree
Hide file tree
Showing 7 changed files with 111 additions and 74 deletions.
80 changes: 44 additions & 36 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 10 additions & 4 deletions uniswap-v2/contracts/factory/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ authors = ["Cardinal Cryptography"]
edition = "2021"

[dependencies]
ink = { version = "=4.2.1", default-features = false}
ink = { version = "=4.3.0", default-features = false }

scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = [
"derive",
] }
scale-info = { version = "2.3", default-features = false, features = [
"derive",
], optional = true }

pair_contract = { path = "../pair", default-features = false, features = ["ink-as-dependency"] }
pair_contract = { path = "../pair", default-features = false, features = [
"ink-as-dependency",
] }
openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.1", default-features = false }
uniswap_v2 = { path = "../../logics", default-features = false }

Expand Down
2 changes: 1 addition & 1 deletion uniswap-v2/contracts/pair/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ authors = ["Cardinal Cryptography"]
edition = "2021"

[dependencies]
ink = { version = "=4.2.1", default-features = false }
ink = { version = "=4.3.0", default-features = false }

scale = { package = "parity-scale-codec", version = "3", default-features = false, features = [
"derive",
Expand Down
21 changes: 11 additions & 10 deletions uniswap-v2/contracts/psp22/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,23 +5,24 @@ authors = ["Supercolony <[email protected]>"]
edition = "2021"

[dependencies]
ink = { version = "=4.2.1", default-features = false}
ink = { version = "=4.3.0", default-features = false }

scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = [
"derive",
] }
scale-info = { version = "2.3", default-features = false, features = [
"derive",
], optional = true }

openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.1", default-features = false, features = ["psp22"] }
openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.1", default-features = false, features = [
"psp22",
] }

[lib]
name = "psp22_token"
path = "lib.rs"

[features]
default = ["std"]
std = [
"ink/std",
"scale/std",
"scale-info/std",
"openbrush/std",
]
std = ["ink/std", "scale/std", "scale-info/std", "openbrush/std"]
ink-as-dependency = []
20 changes: 14 additions & 6 deletions uniswap-v2/contracts/router/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,21 @@ authors = ["Cardinal Cryptography"]
edition = "2021"

[dependencies]
primitive-types = { version = "0.11.1", default-features = false, features = ["num-traits"] }
ink = { version = "=4.2.1", default-features = false}
primitive-types = { version = "0.11.1", default-features = false, features = [
"num-traits",
] }
ink = { version = "=4.3.0", default-features = false }

scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = [
"derive",
] }
scale-info = { version = "2.3", default-features = false, features = [
"derive",
], optional = true }

openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.1", default-features = false, features = ["psp22"] }
openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.1", default-features = false, features = [
"psp22",
] }
uniswap_v2 = { path = "../../logics", default-features = false }

[lib]
Expand All @@ -26,7 +34,7 @@ std = [
"scale-info",
"scale-info/std",
"openbrush/std",
"uniswap_v2/std"
"uniswap_v2/std",
]
ink-as-dependency = []

Expand Down
16 changes: 11 additions & 5 deletions uniswap-v2/contracts/wnative/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,18 @@ authors = ["Cardinal Cryptography"]
edition = "2021"

[dependencies]
ink = { version = "=4.2.1", default-features = false}
ink = { version = "=4.3.0", default-features = false }

scale = { package = "parity-scale-codec", version = "3", default-features = false, features = ["derive"] }
scale-info = { version = "2.3", default-features = false, features = ["derive"], optional = true }
scale = { package = "parity-scale-codec", version = "3", default-features = false, features = [
"derive",
] }
scale-info = { version = "2.3", default-features = false, features = [
"derive",
], optional = true }

openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.1", default-features = false, features = ["psp22"] }
openbrush = { git = "https://github.com/727-Ventures/openbrush-contracts", tag = "3.1.1", default-features = false, features = [
"psp22",
] }
uniswap_v2 = { path = "../../logics", default-features = false }

[lib]
Expand All @@ -25,7 +31,7 @@ std = [
"scale-info",
"scale-info/std",
"openbrush/std",
"uniswap_v2/std"
"uniswap_v2/std",
]
ink-as-dependency = []

Expand Down
Loading

0 comments on commit 03b536a

Please sign in to comment.