diff --git a/cairo-contracts/packages/apps/src/lib.cairo b/cairo-contracts/packages/apps/src/lib.cairo index 014e52f2..9cc9c72d 100644 --- a/cairo-contracts/packages/apps/src/lib.cairo +++ b/cairo-contracts/packages/apps/src/lib.cairo @@ -1 +1,18 @@ -pub mod transfer; +pub mod transfer { + pub mod components; + mod erc20_call; + mod errors; + pub mod interfaces; + pub mod types; + + pub use erc20_call::{ERC20Contract, ERC20ContractTrait}; + pub use errors::TransferErrors; + + /// The poseidon hash of the transfer port id. + pub const TRANSFER_PORT_ID_HASH: felt252 = + 506076466176013583354797631368330115868609515147080483618120063858966368900; + + pub fn TRANSFER_PORT_ID() -> ByteArray { + "transfer" + } +} diff --git a/cairo-contracts/packages/apps/src/transfer.cairo b/cairo-contracts/packages/apps/src/transfer.cairo deleted file mode 100644 index 2ef6d3ae..00000000 --- a/cairo-contracts/packages/apps/src/transfer.cairo +++ /dev/null @@ -1,16 +0,0 @@ -pub mod components; -mod erc20_call; -mod errors; -pub mod interfaces; -pub mod types; - -pub use erc20_call::{ERC20Contract, ERC20ContractTrait}; -pub use errors::TransferErrors; - -/// The poseidon hash of the transfer port id. -pub const TRANSFER_PORT_ID_HASH: felt252 = - 506076466176013583354797631368330115868609515147080483618120063858966368900; - -pub fn TRANSFER_PORT_ID() -> ByteArray { - "transfer" -} diff --git a/cairo-contracts/packages/contracts/src/lib.cairo b/cairo-contracts/packages/contracts/src/lib.cairo index c969e6fc..912f8f19 100644 --- a/cairo-contracts/packages/contracts/src/lib.cairo +++ b/cairo-contracts/packages/contracts/src/lib.cairo @@ -1,11 +1,12 @@ pub mod core; pub mod erc20; - pub mod apps { - pub mod transfer; + mod transfer; + pub use transfer::TransferApp; } pub mod clients { - pub mod cometbft; + mod cometbft; + pub use cometbft::CometClient; } mod tests { #[cfg(test)]