Skip to content

Commit

Permalink
add namada_token crate
Browse files Browse the repository at this point in the history
  • Loading branch information
tzemanovic committed Jan 3, 2024
1 parent c9cd9b0 commit ed21814
Show file tree
Hide file tree
Showing 5 changed files with 41 additions and 0 deletions.
10 changes: 10 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 @@ -23,6 +23,7 @@ members = [
"storage",
"test_utils",
"tests",
"token",
"trans_token",
"tx",
"tx_env",
Expand Down
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ crates += namada_state
crates += namada_storage
crates += namada_test_utils
crates += namada_tests
crates += namada_token
crates += namada_trans_token
crates += namada_tx
crates += namada_tx_env
Expand Down
19 changes: 19 additions & 0 deletions token/Cargo.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
[package]
name = "namada_token"
description = "Namada transparent and shielded token"
resolver = "2"
authors.workspace = true
edition.workspace = true
documentation.workspace = true
homepage.workspace = true
keywords.workspace = true
license.workspace = true
readme.workspace = true
repository.workspace = true
version.workspace = true

[dependencies]
namada_core = { path = "../core", default-features = false }
namada_shielded_token = { path = "../shielded_token" }
namada_storage = { path = "../storage" }
namada_trans_token = { path = "../trans_token" }
10 changes: 10 additions & 0 deletions token/src/lib.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
//! Namada transparent and shielded token types, storage keys and storage
//! fns.

pub use namada_shielded_token::*;
pub use namada_trans_token::*;

pub mod storage_key {
pub use namada_shielded_token::storage_key::*;
pub use namada_trans_token::storage_key::*;
}

0 comments on commit ed21814

Please sign in to comment.