Skip to content
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

storage account v1 #119

Merged
merged 4 commits into from
Dec 12, 2024
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
22 changes: 22 additions & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ osmosis-std-derive = "0.26.0"
# our contracts
valence-authorization = { path = "contracts/authorization", features = ["library"] }
valence-base-account = { path = "contracts/accounts/base_account", features = ["library"] }
valence-storage-account = { path = "contracts/accounts/storage_account", features = ["library"] }
valence-processor = { path = "contracts/processor", features = ["library"] }
valence-splitter-library = { path = "contracts/libraries/splitter", features = ["library"] }
valence-test-dynamic-ratio = { path = "contracts/testing/test-dynamic-ratio", features = ["library"] }
Expand Down
3 changes: 3 additions & 0 deletions contracts/accounts/storage_account/.cargo/config.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
[alias]
wasm = "build --release --lib --target wasm32-unknown-unknown"
schema = "run --bin schema"
36 changes: 36 additions & 0 deletions contracts/accounts/storage_account/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
[package]
name = "valence-storage-account"
version = "0.1.0"
authors = ["Timewave Labs"]
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[lib]
crate-type = ["cdylib", "rlib"]

[features]
# use library feature to disable all instantiate/execute/query exports
library = []

[dependencies]
cosmwasm-schema = { workspace = true }
cosmwasm-std = { workspace = true, features = ["stargate"] }
cw-ownable = { workspace = true }
cw-storage-plus = { workspace = true }
cw2 = { workspace = true }
schemars = { workspace = true }
serde = { workspace = true }
thiserror = { workspace = true }
valence-account-utils = { workspace = true }

[dev-dependencies]
cw-multi-test = { workspace = true }
cw-denom = { workspace = true }
cw-ownable = { workspace = true }
cw20 = { workspace = true }
cw20-base = { workspace = true }
getset = { workspace = true }
itertools = { workspace = true }
sha2 = { workspace = true }
valence-account-utils = { workspace = true, features = ["testing"] }
4 changes: 4 additions & 0 deletions contracts/accounts/storage_account/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# Valence Storage Account

The **Valence Storage Account** is a type of Valence account that can store
arbitrary data blobs.
Loading