8000 Snip20 staking math update by FloppyDisck · Pull Request #211 · securesecrets/shade · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Snip20 staking math update #211

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 13, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions contracts/snip20_staking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,6 @@ sha2 = { version = "0.9.1", default-features = false }
shade-protocol = { version = "0.1.0", path = "../../packages/shade_protocol", features = ["snip20_staking", "snip20", "storage"] }
cosmwasm-math-compat = { version = "0.1.0", path = "../../packages/cosmwasm_math_compat" }

# Large number math
ethnum = "1.1.1"

[dev-dependencies]
cosmwasm-schema = { version = "0.9.2" }
rand = "0.8.4"
3 changes: 2 additions & 1 deletion contracts/snip20_staking/src/batch.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@
use schemars::JsonSchema;
use serde::{Deserialize, Serialize};

use cosmwasm_std::{Binary, HumanAddr, Uint128};
use cosmwasm_std::{Binary, HumanAddr};
use cosmwasm_math_compat::Uint128;

#[derive(Serialize, Deserialize, JsonSchema, Clone, Debug)]
#[serde(rename_all = "snake_case")]
Expand Down
Loading
0