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
5 changes: 3 additions & 2 deletions contracts/src/0.8/RealitioHomeProxyArbitrum.sol
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ contract RealitioHomeProxyArbitrum is IHomeArbitrationProxy {

/// @dev The address of the Realitio contract (v3.0 required). TRUSTED.
IRealitio public immutable realitio;
address public immutable foreignProxy; // Address of the proxy on L1.
/// @dev Address of the proxy on L1. Note that it needs to be precomputed before deployment by using deployer's address and tx nonce.
address public immutable foreignProxy;
/// @dev ID of the foreign chain, required for Realitio.
bytes32 public immutable foreignChainId;

Expand Down Expand Up @@ -67,7 +68,7 @@ contract RealitioHomeProxyArbitrum is IHomeArbitrationProxy {
* @notice Creates an arbitration proxy on the home chain.
* @param _realitio Realitio contract address.
* @param _metadata Metadata for Realitio.
* @param _foreignProxy Address of the proxy on L1.
* @param _foreignProxy Address of the proxy on L1. Note that it needs to be precomputed before deployment by using deployer's address and tx nonce.
* @param _foreignChainId The ID of foreign chain (Sepolia/Mainnet).
*/
constructor(IRealitio _realitio, string memory _metadata, address _foreignProxy, uint256 _foreignChainId) {
Expand Down
3 changes: 2 additions & 1 deletion contracts/src/0.8/RealitioHomeProxyGnosis.sol
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ contract RealitioHomeProxyGnosis is IHomeArbitrationProxy {
IAMB public immutable amb;

/// @dev Address of the counter-party proxy on the Foreign Chain. TRUSTED.
/// Note that it needs to be precomputed before deployment by using deployer's address and tx nonce.
address public immutable foreignProxy;

/// @dev The chain ID where the foreign proxy is deployed.
Expand Down Expand Up @@ -65,7 +66,7 @@ contract RealitioHomeProxyGnosis is IHomeArbitrationProxy {
* @notice Creates an arbitration proxy on the home chain.
* @param _realitio Realitio contract address.
* @param _metadata Metadata for Realitio.
* @param _foreignProxy The address of the proxy.
* @param _foreignProxy The address of the proxy. Note that it needs to be precomputed before deployment by using deployer's address and tx nonce.
* @param _foreignChainId The ID of the chain where the foreign proxy is deployed.
* @param _amb ArbitraryMessageBridge contract address.
*/
Expand Down
5 changes: 3 additions & 2 deletions contracts/src/0.8/RealitioHomeProxyOptimism.sol
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,8 @@ contract RealitioHomeProxyOptimism is IHomeArbitrationProxy {

/// @dev The address of the Realitio contract (v3.0 required). TRUSTED.
IRealitio public immutable realitio;
address public immutable foreignProxy; // Address of the proxy on L1.
/// @dev Address of the proxy on L1. Note that it needs to be precomputed before deployment by using deployer's address and tx nonce.
address public immutable foreignProxy;

/// @dev ID of the foreign chain, required for Realitio.
bytes32 public immutable foreignChainId;
Expand Down Expand Up @@ -61,7 +62,7 @@ contract RealitioHomeProxyOptimism is IHomeArbitrationProxy {
* @notice Creates an arbitration proxy on the home chain.
* @param _realitio Realitio contract address.
* @param _metadata Metadata for Realitio.
* @param _foreignProxy Address of the proxy on L1.
* @param _foreignProxy Address of the proxy on L1. Note that it needs to be precomputed before deployment by using deployer's address and tx nonce.
* @param _foreignChainId The ID of foreign chain (Sepolia/Mainnet).
*/
constructor(IRealitio _realitio, string memory _metadata, address _foreignProxy, uint256 _foreignChainId) {
Expand Down
5 changes: 3 additions & 2 deletions contracts/src/0.8/RealitioHomeProxyZkSync.sol
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ contract RealitioHomeProxyZkSync is IHomeArbitrationProxy {
/// @dev The address of the Realitio contract (v3.0 required). TRUSTED.
IRealitio public immutable realitio;
address public immutable foreignProxyAlias; // Address of the proxy on L1 converted to L2. See https://era.zksync.io/docs/api/go/utils.html#applyl1tol2alias
address public immutable foreignProxy; // Address of the proxy on L1. Required for Realitio UI.
/// @dev Address of the proxy on L1. Note that it needs to be precomputed before deployment by using deployer's address and tx nonce.
address public immutable foreignProxy;
/// @dev ID of the foreign chain, required for Realitio.
bytes32 public immutable foreignChainId;

Expand Down Expand Up @@ -64,7 +65,7 @@ contract RealitioHomeProxyZkSync is IHomeArbitrationProxy {
* @notice Creates an arbitration proxy on the home chain.
* @param _realitio Realitio contract address.
* @param _metadata Metadata for Realitio.
* @param _foreignProxy Address of the proxy on L1.
* @param _foreignProxy Address of the proxy on L1. Note that it needs to be precomputed before deployment by using deployer's address and tx nonce.
* @param _foreignProxyAlias Alias of the proxy on L1.
* @param _foreignChainId The ID of foreign chain (Sepolia/Mainnet).
*/
Expand Down