Skip to content

Commit e5e20a4

Browse files
author
jnoorchashm37
committed
updated l2 angstrom constants
1 parent 215c81a commit e5e20a4

1 file changed

Lines changed: 15 additions & 34 deletions

File tree

Lines changed: 15 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,14 @@
11
use alloy_primitives::{Address, ChainId, address};
2-
use alloy_sol_types::Eip712Domain;
32

43
use crate::v4::{UNISWAP_V4_CONSTANTS_BASE_MAINNET, UNISWAP_V4_CONSTANTS_UNICHAIN_MAINNET, UniswapV4Constants};
54

65
#[derive(Debug, Clone)]
76
pub struct AngstromL2Constants {
8-
angstrom_l2_factory: Address,
9-
hook_address_miner: Address,
10-
angstrom_deploy_block: u64,
11-
chain_id: u64,
12-
angstrom_eip712_domain: Eip712Domain,
13-
uniswap_constants: UniswapV4Constants
7+
angstrom_l2_factory: Address,
8+
hook_address_miner: Address,
9+
angstrom_deploy_block: u64,
10+
chain_id: u64,
11+
uniswap_constants: UniswapV4Constants
1412
}
1513

1614
impl AngstromL2Constants {
@@ -42,41 +40,24 @@ impl AngstromL2Constants {
4240
self.chain_id
4341
}
4442

45-
#[inline]
46-
pub fn angstrom_eip712_domain(&self) -> Eip712Domain {
47-
self.angstrom_eip712_domain.clone()
48-
}
49-
5043
#[inline]
5144
pub fn uniswap_constants(&self) -> UniswapV4Constants {
5245
self.uniswap_constants
5346
}
5447
}
5548

5649
pub const ANGSTROM_L2_CONSTANTS_BASE_MAINNET: AngstromL2Constants = AngstromL2Constants {
57-
angstrom_l2_factory: address!("0x0000000000a5f21b113A18DD18f6FbEEBD01201B"),
58-
hook_address_miner: address!("0x7f210fC1757556A8161D797077cc13eDf50969d3"),
59-
angstrom_deploy_block: 42584531,
60-
chain_id: 8453,
61-
angstrom_eip712_domain: alloy_sol_types::eip712_domain!(
62-
name: "Angstrom",
63-
version: "v1",
64-
chain_id: 8453,
65-
verifying_contract: Address::ZERO,
66-
),
67-
uniswap_constants: UNISWAP_V4_CONSTANTS_BASE_MAINNET
50+
angstrom_l2_factory: address!("0x0000000000fd3b85c30f942e8d878e858e69cd05"),
51+
hook_address_miner: address!("0x1C9e501116879d6A6748582047eBcb8bbcCC7d53"),
52+
angstrom_deploy_block: 43873127,
53+
chain_id: 8453,
54+
uniswap_constants: UNISWAP_V4_CONSTANTS_BASE_MAINNET
6855
};
6956

7057
pub const ANGSTROM_L2_CONSTANTS_UNICHAIN_MAINNET: AngstromL2Constants = AngstromL2Constants {
71-
angstrom_l2_factory: address!("0x000000000000a0220e791bAe32b16C0406980C42"),
72-
hook_address_miner: address!("0x98bD6680eE62C006730A5a4dFB2f0Da6645A10f5"),
73-
angstrom_deploy_block: 29275745,
74-
chain_id: 130,
75-
angstrom_eip712_domain: alloy_sol_types::eip712_domain!(
76-
name: "Angstrom",
77-
version: "v1",
78-
chain_id: 130,
79-
verifying_contract: Address::ZERO,
80-
),
81-
uniswap_constants: UNISWAP_V4_CONSTANTS_UNICHAIN_MAINNET
58+
angstrom_l2_factory: address!("0x000000000000a0220e791bAe32b16C0406980C42"),
59+
hook_address_miner: address!("0x98bD6680eE62C006730A5a4dFB2f0Da6645A10f5"),
60+
angstrom_deploy_block: 29275745,
61+
chain_id: 130,
62+
uniswap_constants: UNISWAP_V4_CONSTANTS_UNICHAIN_MAINNET
8263
};

0 commit comments

Comments
 (0)