You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: crates/ibc/src/applications/transfer/denom.rs
+11-1
Original file line number
Diff line number
Diff line change
@@ -1,3 +1,5 @@
1
+
//! Defines types to represent "denominations" [as defined in ICS-20](https://github.com/cosmos/ibc/blob/main/spec/app/ics-020-fungible-token-transfer/README.md#data-structures)
2
+
1
3
use core::fmt::{Display,ErrorasFmtError,Formatter};
2
4
use core::str::FromStr;
3
5
@@ -11,7 +13,10 @@ use crate::prelude::*;
11
13
#[cfg(feature = "serde")]
12
14
usecrate::serializers::serde_string;
13
15
14
-
/// Base denomination type
16
+
/// The "base" of a denomination.
17
+
///
18
+
/// For example, given the token `my_port-1/my_channel-1/my_port-2/my_channel-2/base_denom`,
19
+
/// `base_denom` is the "base" of the denomination
Copy file name to clipboardexpand all lines: crates/ibc/src/applications/transfer/mod.rs
+6-4
Original file line number
Diff line number
Diff line change
@@ -1,6 +1,5 @@
1
-
//! ICS 20: Token Transfer implementation allows for multi-chain denomination handling, which
2
-
//! constitutes a "fungible token transfer bridge module" between the IBC routing module and an
3
-
//! asset tracking module.
1
+
//! Implementation of the [fungible token transfer module](https://github.com/cosmos/ibc/blob/main/spec/app/ics-020-fungible-token-transfer/README.md) (ICS-20)
0 commit comments