-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
added comp prefs contract and updated cw-orch version
- Loading branch information
Showing
32 changed files
with
1,957 additions
and
634 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
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,11 @@ | ||
b4d98d4646f14b38eb6156f50a7761838154d1389f9d380c0c586117d68f0e4e ymos_junodca_outpost-aarch64.wasm | ||
ff0546973bb4fff63cc61d6a8bdea35e3e3373825e36a742d522cc1620883a66 ymos_comp_prefs.wasm | ||
3461f6708a36bd99cfb04daf380e360ffd3911a95e6e51c45b2d5ee47cb1a7f8 ymos_junodca_outpost-aarch64.wasm | ||
357437e1cc5aae42838df3f26a93dbd7fb93c418c26a4dbfeafb66708568926f ymos_junodca_outpost.wasm | ||
e8807e9a609751fd138cbf09975b716368caecdc9b98759a602fd17615af31e2 ymos_junostake_outpost-aarch64.wasm | ||
fe9d7f09551b3f26365b1e498fb1375a25e17d4c134e2c1971a5e562ef80acb4 ymos_junowwmarket_outpost-aarch64.wasm | ||
5841f02c43f156c60547a5285336250357c07b3e63b39e1f5f5d2154fb6a5229 ymos_junostake_outpost.wasm | ||
fe10f53265a569e1b1b7a6463a40dbdc55f5761f91ae7a784e31889ed7daaded ymos_junowwmarket_outpost-aarch64.wasm | ||
ec14a96ab2aea8a1c3b565bc646dcb789202a0d9a7eca209445db04a89f49bb6 ymos_junowwmarket_outpost.wasm | ||
a192dd17eb2a3f3f77a79c5d1c242dc179ec11851bf3a053d70e4aea89da87c2 ymos_osmostake_outpost-aarch64.wasm | ||
b89b0f087c799b74df32024288ed95589bf34b46e01b9c39755d012925b3a3da ymos_wyndlp_outpost-aarch64.wasm | ||
c2a1de1f808c3cbcc7ebb4effbd1d03b934d74a1eedb00a8614edd7d8528a45b ymos_wyndstake_outpost-aarch64.wasm | ||
d07e6012cfc20c8a3c2869dbd535ca86695fce259eccc0efacef7ba83601620b ymos_wyndstake_outpost-aarch64.wasm | ||
4be05f1b7f038ea94a5d305a0f127495ffd55d55116d897dc900608bafda928a ymos_wyndstake_outpost.wasm |
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 @@ | ||
14ed42d96bd7f9f8ae7074ea0445894ebf2903cc24af1201bf5fffc8b4c8e81d target/wasm32-unknown-unknown/release/ymos_osmostake_outpost.wasm | ||
10801be91ce9d7dadc8e43a7bf501ff1f6a90f84c2af145d76aa76deb95b8599 target/wasm32-unknown-unknown/release/ymos_wyndlp_outpost.wasm | ||
f89cacaf00996be7cf2a3b122bc8f8e67650cf8cc02665b6d947abd3eebc1f1b target/wasm32-unknown-unknown/release/ymos_junodca_outpost.wasm | ||
a64f52254d8acfa51fed9c67aa9068f0ec943eb27223eebc0b51ac43d692545b target/wasm32-unknown-unknown/release/ymos_junostake_outpost.wasm | ||
f12c323b89baa16340fa9a8838b482499c97513a65fca70aef3cf45676c2d0f4 target/wasm32-unknown-unknown/release/ymos_wyndstake_outpost.wasm | ||
fdd8bfc1056ce4f36d6b042bc95398ca9b699331792cdec5c7ab68ccb388df46 target/wasm32-unknown-unknown/release/ymos_junowwmarket_outpost.wasm | ||
dd0d79f90722a620465c25cdbbad8b4b2ffe9b4e2bee540ae4a284b2a3ff090d target/wasm32-unknown-unknown/release/ymos_junodca_outpost.wasm | ||
14747f9a77fb16cd3e538667d795627a32349eb51b883fe6335cbdfe54904f2e target/wasm32-unknown-unknown/release/ymos_junowwmarket_outpost.wasm | ||
e7d8c3ec163f70000de46692ea727edb85a117add3e095744436fe8a45acc3a2 target/wasm32-unknown-unknown/release/ymos_wyndstake_outpost.wasm |
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,54 @@ | ||
[package] | ||
name = "ymos-comp-prefs" | ||
authors = ["Marc <marc@yieldmos.com>"] | ||
version = { workspace = true } | ||
edition = { workspace = true } | ||
description = "Yieldmos Compounding Prefs Store" | ||
|
||
exclude = [ | ||
# Those files are rust-optimizer artifacts. You might want to commit them for convenience but they should not be part of the source code publication. | ||
"contract.wasm", | ||
"hash.txt", | ||
] | ||
|
||
|
||
[lib] | ||
crate-type = ["cdylib", "rlib"] | ||
|
||
[profile.release] | ||
opt-level = 3 | ||
debug = false | ||
rpath = false | ||
lto = true | ||
debug-assertions = false | ||
codegen-units = 1 | ||
panic = 'abort' | ||
incremental = false | ||
overflow-checks = true | ||
|
||
[features] | ||
# for more explicit tests, cargo test --features=backtraces | ||
backtraces = ["cosmwasm-std/backtraces"] | ||
# use library feature to disable all instantiate/execute/query exports | ||
library = [] | ||
interface = ["dep:cw-orch"] | ||
|
||
|
||
[dependencies] | ||
cosmwasm-schema = { workspace = true } | ||
cosmwasm-std = { workspace = true } | ||
cosmwasm-storage = { workspace = true, features = ["iterator"] } | ||
cw-storage-plus = { workspace = true } | ||
cw2 = { workspace = true } | ||
schemars = { workspace = true } | ||
serde = { workspace = true } | ||
thiserror = { workspace = true } | ||
semver = { workspace = true } | ||
# outpost-utils = { workspace = true } | ||
# juno-helpers = { workspace = true } | ||
cw-orch = { workspace = true, optional = true } | ||
|
||
|
||
[dev-dependencies] | ||
cw-multi-test = { workspace = true } | ||
ymos-comp-prefs = { path = "../comp_prefs", features = ["interface"] } |
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,3 @@ | ||
# Ymos Comp Prefs | ||
|
||
contract for storing and querying user compounding preferences on chain. |
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,11 @@ | ||
use cosmwasm_schema::write_api; | ||
|
||
use ymos_comp_prefs::msg::{ExecuteMsg, InstantiateMsg, QueryMsg}; | ||
|
||
fn main() { | ||
write_api! { | ||
instantiate: InstantiateMsg, | ||
execute: ExecuteMsg, | ||
query: QueryMsg, | ||
} | ||
} |
Oops, something went wrong.