-
Notifications
You must be signed in to change notification settings - Fork 54
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* cw20-atomic-swap migration to cosmwasm-* 1.1.0 * cw20-bonding migration to cosmwasm-* 1.1.0 * cw20-escrow migration to cosmwasm-* 1.1.0 * cw20-merkle-airdrop migration to cosmwasm-* 1.1.0 * cw20-staking migration to cosmwasm-* 1.1.0 * cw20-streams migration to cosmwasm-* 1.1.0 * Make linter happy * Make linter happy - 2 * Bump contract versions
- Loading branch information
1 parent
c3ea040
commit 23f55c6
Showing
29 changed files
with
306 additions
and
389 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
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,6 +1,6 @@ | ||
[package] | ||
name = "cw20-atomic-swap" | ||
version = "0.12.1" | ||
version = "0.13.1" | ||
authors = ["Mauro Lacy <[email protected]>"] | ||
edition = "2018" | ||
description = "Implementation of Atomic Swaps" | ||
|
@@ -18,16 +18,15 @@ backtraces = ["cosmwasm-std/backtraces"] | |
library = [] | ||
|
||
[dependencies] | ||
cw-utils = "0.13.2" | ||
cw2 = "0.13.2" | ||
cw20 = "0.13.2" | ||
cosmwasm-std = "1.0.0" | ||
cw-storage-plus = "0.13.2" | ||
schemars = "0.8.10" | ||
serde = { version = "1.0", default-features = false, features = ["derive"] } | ||
cw-utils = "0.13.4" | ||
cw2 = "0.13.4" | ||
cw20 = "0.13.4" | ||
cosmwasm-schema = "1.1.0" | ||
cosmwasm-std = "1.1.0" | ||
cw-storage-plus = "0.13.4" | ||
thiserror = "1.0.31" | ||
hex = "0.3.2" | ||
sha2 = "0.8.2" | ||
|
||
[dev-dependencies] | ||
cosmwasm-schema = "1.0.0" | ||
|
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,23 +1,12 @@ | ||
use std::env::current_dir; | ||
use std::fs::create_dir_all; | ||
|
||
use cosmwasm_schema::{export_schema, remove_schemas, schema_for}; | ||
|
||
use cw20_atomic_swap::msg::DetailsResponse; | ||
use cosmwasm_schema::write_api; | ||
use cw20_atomic_swap::msg::ExecuteMsg; | ||
use cw20_atomic_swap::msg::InstantiateMsg; | ||
use cw20_atomic_swap::msg::ListResponse; | ||
use cw20_atomic_swap::msg::QueryMsg; | ||
|
||
fn main() { | ||
let mut out_dir = current_dir().unwrap(); | ||
out_dir.push("schema"); | ||
create_dir_all(&out_dir).unwrap(); | ||
remove_schemas(&out_dir).unwrap(); | ||
|
||
export_schema(&schema_for!(InstantiateMsg), &out_dir); | ||
export_schema(&schema_for!(ExecuteMsg), &out_dir); | ||
export_schema(&schema_for!(QueryMsg), &out_dir); | ||
export_schema(&schema_for!(ListResponse), &out_dir); | ||
export_schema(&schema_for!(DetailsResponse), &out_dir); | ||
write_api! { | ||
instantiate: InstantiateMsg, | ||
query: QueryMsg, | ||
execute: ExecuteMsg, | ||
} | ||
} |
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
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,6 +1,6 @@ | ||
[package] | ||
name = "cw20-bonding" | ||
version = "0.12.1" | ||
version = "0.13.1" | ||
authors = ["Ethan Frey <[email protected]>"] | ||
edition = "2018" | ||
description = "Implement basic bonding curve to issue cw20 tokens" | ||
|
@@ -20,18 +20,17 @@ backtraces = ["cosmwasm-std/backtraces"] | |
library = [] | ||
|
||
[dependencies] | ||
cw-utils = "0.13.2" | ||
cw2 = "0.13.2" | ||
cw20 = "0.13.2" | ||
cw20-base = { version = "0.13.2", features = ["library"] } | ||
cw-storage-plus = "0.13.2" | ||
cosmwasm-std = { version = "1.0.0", default-features = false, features = ["staking"] } | ||
schemars = "0.8.1" | ||
serde = { version = "1.0.103", default-features = false, features = ["derive"] } | ||
thiserror = "1.0.23" | ||
cw-utils = "0.13.4" | ||
cw2 = "0.13.4" | ||
cw20 = "0.13.4" | ||
cw20-base ={version = "0.13.4", features = ["library"]} | ||
cw-storage-plus = "0.13.4" | ||
cosmwasm-std = "1.1.0" | ||
cosmwasm-schema = "1.1.0" | ||
thiserror = "1.0.31" | ||
rust_decimal = "1.14.3" | ||
integer-sqrt = "0.1.5" | ||
integer-cbrt = "0.1.2" | ||
|
||
[dev-dependencies] | ||
cosmwasm-schema = "1.0.0" | ||
|
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,22 +1,11 @@ | ||
use std::env::current_dir; | ||
use std::fs::create_dir_all; | ||
use cosmwasm_schema::write_api; | ||
|
||
use cosmwasm_schema::{export_schema, remove_schemas, schema_for}; | ||
|
||
use cw20::{AllowanceResponse, BalanceResponse, TokenInfoResponse}; | ||
use cw20_bonding::msg::{CurveInfoResponse, ExecuteMsg, InstantiateMsg, QueryMsg}; | ||
use cw20_bonding::msg::{ExecuteMsg, InstantiateMsg, QueryMsg}; | ||
|
||
fn main() { | ||
let mut out_dir = current_dir().unwrap(); | ||
out_dir.push("schema"); | ||
create_dir_all(&out_dir).unwrap(); | ||
remove_schemas(&out_dir).unwrap(); | ||
|
||
export_schema(&schema_for!(InstantiateMsg), &out_dir); | ||
export_schema(&schema_for!(ExecuteMsg), &out_dir); | ||
export_schema(&schema_for!(QueryMsg), &out_dir); | ||
export_schema(&schema_for!(AllowanceResponse), &out_dir); | ||
export_schema(&schema_for!(BalanceResponse), &out_dir); | ||
export_schema(&schema_for!(CurveInfoResponse), &out_dir); | ||
export_schema(&schema_for!(TokenInfoResponse), &out_dir); | ||
write_api! { | ||
instantiate: InstantiateMsg, | ||
query: QueryMsg, | ||
execute: ExecuteMsg, | ||
} | ||
} |
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
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
Oops, something went wrong.