Skip to content

Commit

Permalink
feature: add version (#69)
Browse files Browse the repository at this point in the history
* add version

* chore: build artifacts

---------

Co-authored-by: Unique-Divine <[email protected]>
  • Loading branch information
jgimeno and Unique-Divine authored Aug 29, 2023
1 parent 4519b19 commit 353deaa
Show file tree
Hide file tree
Showing 6 changed files with 4 additions and 8 deletions.
Binary file modified artifacts/bindings_perp.wasm
Binary file not shown.
2 changes: 1 addition & 1 deletion artifacts/checksums.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
13b02a828f6e62b8a93cfd18e208a180394c91036a83ac36f2e891a8267471f4 bindings_perp.wasm
bac9e9be2a1088c10bbac4f47f877561bc88c84583669ad70f068f981ca8dad7 bindings_perp.wasm
997f5a7e4d4074a5fe19bffaaae43e5206fe6f453081da1b554ca4938ee1202e controller.wasm
93bdd8cdc89ebbc8e29bc6a334483c45b507a6accfd2a4a0dc06a0bfcbc3ff05 incentives.wasm
c549f596f4faba0ef06eafb8fa56984ad0d6bd861e67e9a02ca612ada64904a5 lockup.wasm
Expand Down
7 changes: 0 additions & 7 deletions artifacts/checksums_intermediate.txt

This file was deleted.

1 change: 1 addition & 0 deletions packages/bindings/src/state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ pub struct Position {
#[cw_serde]
pub struct Market {
pub pair: String,
pub version: Uint64,
pub base_reserve: Decimal,
pub quote_reserve: Decimal,
pub sqrt_depth: Decimal,
Expand Down
1 change: 1 addition & 0 deletions packages/dummy/query_resp.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"market_map": {
"ETH:USD": {
"pair": "ETH:USD",
"version": "42",
"base_reserve": "69",
"quote_reserve": "69",
"sqrt_depth": "69",
Expand Down
1 change: 1 addition & 0 deletions packages/dummy/src/query.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ pub fn all_markets_response() -> AllMarketsResponse {
String::from("ETH:USD"),
Market {
pair: String::from("ETH:USD"),
version: Uint64::from(42u64),
base_reserve: dec_69(),
quote_reserve: dec_69(),
sqrt_depth: dec_69(),
Expand Down

0 comments on commit 353deaa

Please sign in to comment.