diff --git a/blockchain_integration/pi_network/pi-network-interoperability/bridge-contracts/kosasih-universalis/contracts/BridgeRegistry.sol b/blockchain_integration/pi_network/pi-network-interoperability/bridge-contracts/kosasih-universalis/contracts/BridgeRegistry.sol new file mode 100644 index 000000000..27a146516 --- /dev/null +++ b/blockchain_integration/pi_network/pi-network-interoperability/bridge-contracts/kosasih-universalis/contracts/BridgeRegistry.sol @@ -0,0 +1,13 @@ +pragma solidity ^0.8.0; + +contract BridgeRegistry { + mapping (address => address) public bridges; + + function registerBridge(address _bridgeAddress) public { + bridges[msg.sender] = _bridgeAddress; + } + + function getBridge(address _address) public view returns (address) { + return bridges[_address]; + } +}