-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* chore: make volatility query response optional * chore: fix linting * chore: remove schema and failed tests from CI until fixed * feat: add math lib from nebula-contracts * taken from https://github.com/nebula-protocol/nebula-contracts/tree/a5ff0e3e4285e38a310c7a6e024f6e3e2b75c538/libraries/cluster-math * feat: use new FPDecimal * fix: add cargo debug config * fix: update injective math dependencies
- Loading branch information
Showing
17 changed files
with
1,820 additions
and
54 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 = "injective-cosmwasm" | ||
version = "0.1.6" | ||
version = "0.1.9" | ||
authors = ["Albert Chon <[email protected]>"] | ||
edition = "2018" | ||
description = "Bindings for CosmWasm contracts to call into custom modules of Injective Core" | ||
|
@@ -16,6 +16,7 @@ schemars = "0.8.8" | |
serde = { version = "1.0.136", default-features = false, features = ["derive"] } | ||
ethereum-types = "0.5.2" | ||
subtle-encoding = { version = "0.5.1", features = ["bech32-preview"] } | ||
injective-math = { path = "../injective-math", version = "0.1.2" } | ||
|
||
[dev-dependencies] | ||
cosmwasm-schema = { version = "1.0.0-beta10" } |
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
[alias] | ||
wasm = "build --release --target wasm32-unknown-unknown" | ||
wasm-debug = "build --target wasm32-unknown-unknown" | ||
unit-test = "test --lib --features backtraces" | ||
schema = "run --example schema" |
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 |
---|---|---|
@@ -0,0 +1,27 @@ | ||
[package] | ||
name = "injective-math" | ||
version = "0.1.2" | ||
authors = ["Markus Waas <[email protected]>"] | ||
edition = "2018" | ||
description = "Math library for CosmWasm contracts in Injective Protocol" | ||
repository = "https://github.com/InjectiveLabs/cw-injective/tree/master/packages/injective-math" | ||
license = "Apache-2.0" | ||
readme = "README.md" | ||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html | ||
|
||
[features] | ||
# for more explicit tests, cargo test --features=backtraces | ||
backtraces = ["cosmwasm-std/backtraces"] | ||
|
||
[dependencies] | ||
cosmwasm-std = { version = "1.0.0-beta10" } | ||
schemars = "0.8.8" | ||
serde = { version = "1.0.136", default-features = false, features = ["derive"] } | ||
ethereum-types = "0.5.2" | ||
subtle-encoding = { version = "0.5.1", features = ["bech32-preview"] } | ||
bigint = "4" | ||
|
||
[dev-dependencies] | ||
cosmwasm-schema = { version = "1.0.0-beta10" } | ||
plotters = "^0.3.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 |
---|---|---|
@@ -0,0 +1 @@ | ||
# injective-math |
Oops, something went wrong.