tornado-contracts/contracts/Unaudited/interfaces/ITovarishRegistry.sol

24 lines
623 B
Solidity
Raw Permalink Normal View History

2025-01-23 16:41:42 +00:00
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.20;
interface ITovarishRegistry {
struct Relayer {
string ensName;
address owner;
uint256 balance;
bool isRegistered;
bool isPrior;
string tovarishHost;
string tovarishChains;
string[] records;
}
2025-01-25 13:42:01 +00:00
function lastUpdate() external view returns (uint256);
2025-01-27 17:25:44 +00:00
function getChainIds() external view returns (uint64[] memory);
2025-01-23 16:41:42 +00:00
function relayerRegistry() external view returns (address);
function relayersData(string[] memory additionalRelayers) external view returns (Relayer[] memory);
}