Skip to content

Commit

Permalink
Update the "anchor" contract (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
duguorong009 authored Apr 12, 2022
1 parent 9911f33 commit aaba81c
Show file tree
Hide file tree
Showing 22 changed files with 2,182 additions and 344 deletions.
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,6 @@ Cargo.lock
# These are backup files generated by rustfmt
**/*.rs.bk

/artifacts
/artifacts

node_modules
4 changes: 2 additions & 2 deletions contracts/anchor/examples/schema.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use std::fs::create_dir_all;
use cosmwasm_schema::{export_schema, remove_schemas, schema_for};

use protocol_cosmwasm::anchor::{
Cw20HookMsg, ExecuteMsg, InfoResponse, InstantiateMsg, QueryMsg, WithdrawMsg,
ConfigResponse, Cw20HookMsg, ExecuteMsg, InstantiateMsg, QueryMsg, WithdrawMsg,
};

fn main() {
Expand All @@ -18,5 +18,5 @@ fn main() {
export_schema(&schema_for!(WithdrawMsg), &out_dir);
export_schema(&schema_for!(Cw20HookMsg), &out_dir);
export_schema(&schema_for!(QueryMsg), &out_dir);
export_schema(&schema_for!(InfoResponse), &out_dir);
export_schema(&schema_for!(ConfigResponse), &out_dir);
}
Loading

0 comments on commit aaba81c

Please sign in to comment.