Skip to content

Commit

Permalink
storage account v1 (#119)
Browse files Browse the repository at this point in the history
  • Loading branch information
bekauz authored Dec 12, 2024
1 parent 068a11b commit b58504d
Show file tree
Hide file tree
Showing 13 changed files with 1,150 additions and 6 deletions.
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

0 comments on commit b58504d

Please sign in to comment.