Skip to content

Commit

Permalink
[Ports Interface]: Rename from adapters-interface.
Browse files Browse the repository at this point in the history
  • Loading branch information
0xOmarA committed Feb 9, 2024
1 parent 9cb9e03 commit 9cdad49
Show file tree
Hide file tree
Showing 17 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ members = [
"libraries/package-loader",
"libraries/gateway-client",
"libraries/scrypto-interface",
"libraries/adapters-interface",
"libraries/ports-interface",
# Tools
"tools/bootstrap",
# Tests
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[package]
name = "adapters-interface"
name = "ports-interface"
version.workspace = true
edition.workspace = true
description = "Defines the interface of the various adapters."
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/caviarnine-adapter-v1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ radix-engine-interface = { workspace = true }
transaction = { workspace = true, optional = true }

scrypto-interface = { path = "../../libraries/scrypto-interface" }
adapters-interface = { path = "../../libraries/adapters-interface" }
ports-interface = { path = "../../libraries/ports-interface" }

[features]
default = []
Expand Down
2 changes: 1 addition & 1 deletion packages/caviarnine-adapter-v1/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ pub use crate::bin_selector::*;
pub use crate::blueprint_interface::*;
pub use crate::tick_math::*;

use adapters_interface::prelude::*;
use ports_interface::prelude::*;
use scrypto::prelude::*;
use scrypto_interface::*;

Expand Down
2 changes: 1 addition & 1 deletion packages/ignition/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ sbor = { workspace = true }
scrypto = { workspace = true }
radix-engine-derive = { workspace = true }

adapters-interface = { path = "../../libraries/adapters-interface" }
ports-interface = { path = "../../libraries/ports-interface" }

humantime = { version = "2.1.0" }

Expand Down
2 changes: 1 addition & 1 deletion packages/ignition/src/blueprint.rs
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@
use std::cmp::*;

use crate::*;
use adapters_interface::prelude::*;
use ports_interface::prelude::*;
use scrypto::prelude::*;

type PoolAdapter = PoolAdapterInterfaceScryptoStub;
Expand Down
2 changes: 1 addition & 1 deletion packages/ignition/src/types/liquidity_receipt.rs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
use crate::*;
use adapters_interface::prelude::*;
use ports_interface::prelude::*;
use scrypto::prelude::*;

/// The data of the liquidity positions given to the users of Ignition.
Expand Down
2 changes: 1 addition & 1 deletion packages/ociswap-adapter-v1/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ radix-engine-interface = { workspace = true }
transaction = { workspace = true, optional = true }

scrypto-interface = { path = "../../libraries/scrypto-interface" }
adapters-interface = { path = "../../libraries/adapters-interface" }
ports-interface = { path = "../../libraries/ports-interface" }

[features]
default = []
Expand Down
2 changes: 1 addition & 1 deletion packages/ociswap-adapter-v1/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ pub use blueprint_interface::*;

use std::cmp::*;

use adapters_interface::prelude::*;
use ports_interface::prelude::*;
use scrypto::prelude::*;
use scrypto_interface::*;

Expand Down
2 changes: 1 addition & 1 deletion packages/simple-oracle/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ scrypto = { workspace = true }
radix-engine-derive = { workspace = true }

scrypto-interface = { path = "../../libraries/scrypto-interface" }
adapters-interface = { path = "../../libraries/adapters-interface" }
ports-interface = { path = "../../libraries/ports-interface" }

humantime = { version = "2.1.0" }

Expand Down
2 changes: 1 addition & 1 deletion packages/simple-oracle/src/lib.rs
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#![warn(clippy::arithmetic_side_effects)]

use adapters_interface::prelude::*;
use ports_interface::prelude::*;
use scrypto::prelude::*;
use scrypto_interface::*;

Expand Down

0 comments on commit 9cdad49

Please sign in to comment.