16 lines
452 B
Solidity
16 lines
452 B
Solidity
// SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.8.20;
|
|
|
|
/**
|
|
* @title TruthNetworkAdapter
|
|
* @notice Minimal adapter on Chain 138 for ChainRegistry: stores Ethereum Truth Bridge address.
|
|
*/
|
|
contract TruthNetworkAdapter {
|
|
address public immutable ethereumTruthBridge;
|
|
|
|
constructor(address _ethereumTruthBridge) {
|
|
require(_ethereumTruthBridge != address(0), "Zero address");
|
|
ethereumTruthBridge = _ethereumTruthBridge;
|
|
}
|
|
}
|