Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
39 changes: 39 additions & 0 deletions contracts/deployments/7683/v0.9.0.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
{
"metadata": {
"version": "v0.9.0",
"date": "2025-10-06",
"by": "Ryan",
"from_machine": "localhost",
"from_branch": "xCR/v09-deploy",
"from_commit": "ff51e9ad7d82878f011b9a2ddf1f104f04ce9124"
},
"addresses": {
"arbitrum": {
"signer": "0x4d9c1A0407946a2F3E975311518608859f4d1f67",
"t1ProxyAdmin": "0xb45A6e9e6920A3bfa7Ac5D6783A060bc157DEC5b",
"t1XChainRead": {
"implementation": "0x49da78210674D38D92d24a0F59a566baEEb2BC5c",
"proxy": "0xe5416f9D4ED269d490107081d68aF10601C98Fa6"
},
"t1ERC7683": {
"implementation": "0xA8137237088027c8CEEBaB090BcAdB813bf3F941",
"proxy": "0x996f3583BD967bbA19694733AA7A7623E6D780eb"
Comment thread
rymcol marked this conversation as resolved.
},
"auctionWitness": "0x4EeE6e5a0B9BD206dE5D38aa4EdC7ead70B9cD8D"
Comment thread
rymcol marked this conversation as resolved.
},
"base": {
"signer": "0x4d9c1A0407946a2F3E975311518608859f4d1f67",
"t1ProxyAdmin": "0x9BCcbCB790Ec8f7D2F5e1316E9256054D77cdeDf",
"t1XChainRead": {
"implementation": "0xCBdF20496012e3b5dCF50382B8d3d28D89176427",
"proxy": "0x34FBdDbE1F61b1A027352A32B8ebF35B857aa319"
},
"t1ERC7683": {
"implementation": "0x551b416a5D21eB05ab8Da60B1159822c2C710683",
"proxy": "0xdbA711a6c1b187479e9a5b33020E5217D0BD5A1f"
},
"auctionWitness": "0x4EeE6e5a0B9BD206dE5D38aa4EdC7ead70B9cD8D"
},
"deployerAddress": "0xEB5B6d2aF900151A7Fc4C57c1087F1ED9916D788"
}
}
19 changes: 19 additions & 0 deletions contracts/script/configure/7683/InitializeArbT1XChainReader.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.30;

import { DeploymentUtils } from "../../lib/DeploymentUtils.sol";
import { T1XChainReader } from "../../../src/libraries/xChain/T1XChainReader.sol";

contract InitializeArbT1XChainReader is DeploymentUtils {
address internal proxy = vm.envAddress("ARB_T1_X_CHAIN_READ_PROXY_ADDR");
address internal MANAGER_MULTISIG = vm.envAddress("MANAGER_MULTISIG_ADDR");

function init() external {
selectMainnetOrSepoliaFork("arbitrum");
startBroadcastWithDeployerKeyIfItExists();

T1XChainReader(address(proxy)).initialize(MANAGER_MULTISIG);

vm.stopBroadcast();
}
}
19 changes: 19 additions & 0 deletions contracts/script/configure/7683/InitializeBaseT1XChainReader.s.sol
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.30;

import { DeploymentUtils } from "../../lib/DeploymentUtils.sol";
import { T1XChainReader } from "../../../src/libraries/xChain/T1XChainReader.sol";

contract InitializeBaseT1XChainReader is DeploymentUtils {
address internal proxy = vm.envAddress("BASE_T1_X_CHAIN_READ_PROXY_ADDR");
address internal MANAGER_MULTISIG = vm.envAddress("MANAGER_MULTISIG_ADDR");

function init() external {
selectMainnetOrSepoliaFork("base");
startBroadcastWithDeployerKeyIfItExists();

T1XChainReader(address(proxy)).initialize(MANAGER_MULTISIG);

vm.stopBroadcast();
}
}
4 changes: 2 additions & 2 deletions contracts/script/deploy/DeployArbT1XChainReader.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -25,12 +25,12 @@ contract DeployArbT1XChainReader is DeploymentUtils {
T1XChainReader impl = new T1XChainReader(PROVER);
logAddress("ARB_T1_X_CHAIN_READ_IMPLEMENTATION_ADDR", address(impl));

impl.initialize(MANAGER_MULTISIG);

TransparentUpgradeableProxy proxy =
new TransparentUpgradeableProxy(address(impl), address(proxyAdmin), new bytes(0));
logAddress("ARB_T1_X_CHAIN_READ_PROXY_ADDR", address(proxy));

T1XChainReader(address(proxy)).initialize(MANAGER_MULTISIG);

vm.stopBroadcast();

logEnd("DeployXChainRead to ARB");
Expand Down
4 changes: 2 additions & 2 deletions contracts/script/deploy/DeployBaseT1XChainReader.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -24,12 +24,12 @@ contract DeployBaseT1XChainReader is DeploymentUtils {
T1XChainReader impl = new T1XChainReader(PROVER);
logAddress("BASE_T1_X_CHAIN_READ_IMPLEMENTATION_ADDR", address(impl));

impl.initialize(MANAGER_MULTISIG);

TransparentUpgradeableProxy proxy =
new TransparentUpgradeableProxy(address(impl), address(proxyAdmin), new bytes(0));
logAddress("BASE_T1_X_CHAIN_READ_PROXY_ADDR", address(proxy));

T1XChainReader(address(proxy)).initialize(MANAGER_MULTISIG);

vm.stopBroadcast();

logEnd("DeployXChainRead to BASE");
Expand Down