Skip to content

Commit df64390

Browse files
committed
chore: ordering
1 parent 3e2c74d commit df64390

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

crates/constants/src/chains/pecorino.rs

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -33,17 +33,17 @@ pub const HOST_WETH: Address = address!("0x572C4d72080ed9E9997509b583a22B785B70c
3333

3434
/// USDC token record for the Pecorino testnet host chain.
3535
pub const HOST_USDC_RECORD: HostUsdRecord = HostUsdRecord::new(HOST_USDC, Cow::Borrowed("USDC"), 6);
36-
3736
/// USDT token record for the Pecorino testnet host chain.
3837
pub const HOST_USDT_RECORD: HostUsdRecord = HostUsdRecord::new(HOST_USDT, Cow::Borrowed("USDT"), 6);
39-
4038
/// Host USD records for the Pecorino testnet host chain.
4139
pub const HOST_USD_RECORDS: UsdRecords = {
4240
let mut records = UsdRecords::new();
4341
records.push(HOST_USDC_RECORD);
4442
records.push(HOST_USDT_RECORD);
4543
records
4644
};
45+
/// Host system tokens for Pecorino.
46+
pub const HOST_TOKENS: HostTokens = HostTokens::new(HOST_USD_RECORDS, HOST_WBTC, HOST_WETH);
4747

4848
/// Host system constants for Pecorino.
4949
pub const HOST: HostConstants = crate::HostConstants::new(
@@ -56,17 +56,15 @@ pub const HOST: HostConstants = crate::HostConstants::new(
5656
HOST_TOKENS,
5757
);
5858

59-
/// Host system tokens for Pecorino.
60-
pub const HOST_TOKENS: HostTokens = HostTokens::new(HOST_USD_RECORDS, HOST_WBTC, HOST_WETH);
61-
6259
/// Name for the network.
6360
pub const RU_NAME: &str = "Pecorino";
61+
/// Chain ID for the Pecorino testnet RU chain.
62+
pub const RU_CHAIN_ID: u64 = 14174;
63+
6464
/// WETH token for the Pecorino testnet RU chain.
6565
pub const RU_WETH: Address = address!("0x0000000000000000007369676e65742d77657468");
6666
/// WBTC token for the Pecorino testnet RU chain.
6767
pub const RU_WBTC: Address = address!("0x0000000000000000007369676e65742D77627463");
68-
/// Chain ID for the Pecorino testnet RU chain.
69-
pub const RU_CHAIN_ID: u64 = 14174;
7068
/// `Orders` contract address for the Pecorino testnet RU chain.
7169
pub const RU_ORDERS: Address = address!("0x000000000000007369676E65742D6f7264657273");
7270
/// `Passage` contract address for the Pecorino testnet RU chain.
@@ -75,12 +73,12 @@ pub const RU_PASSAGE: Address = address!("0x0000000000007369676E65742D7061737361
7573
/// The WETH9-based wrapped native USD token contract.
7674
/// This is signet's native token in wrapped form.
7775
pub const WRAPPED: Address = address!("0x0000000000000000007369676e65742D77757364");
76+
/// RU pre-approved system tokens for Pecorino.
77+
pub const RU_TOKENS: RollupTokens = RollupTokens::new(RU_WBTC, RU_WETH);
78+
7879
/// Base fee recipient address for the Pecorino testnet RU chain.
7980
pub const BASE_FEE_RECIPIENT: Address = address!("0xe0eDA3701D44511ce419344A4CeD30B52c9Ba231");
8081

81-
/// RU system tokens for Pecorino.
82-
pub const RU_TOKENS: RollupTokens = RollupTokens::new(RU_WBTC, RU_WETH);
83-
8482
/// RU system constants for Pecorino.
8583
pub const ROLLUP: RollupConstants =
8684
crate::RollupConstants::new(RU_CHAIN_ID, RU_ORDERS, RU_PASSAGE, BASE_FEE_RECIPIENT, RU_TOKENS);

0 commit comments

Comments
 (0)