diff --git a/contracts/mainnet/DepositBoxes/IDepositBoxERC20.sol b/contracts/mainnet/DepositBoxes/IDepositBoxERC20.sol index bb54561..8e7ad73 100644 --- a/contracts/mainnet/DepositBoxes/IDepositBoxERC20.sol +++ b/contracts/mainnet/DepositBoxes/IDepositBoxERC20.sol @@ -45,9 +45,9 @@ interface IDepositBoxERC20 is IDepositBox { function stopTrustingReceiver(string calldata schainName, address receiver) external; function trustReceiver(string calldata schainName, address receiver) external; function validateTransfer(uint transferId) external; - function isReceiverTrusted(bytes32 schainHash, address receiver) external view returns (bool); - function getArbitrageDuration(bytes32 schainHash) external view returns (uint256); - function getBigTransferThreshold(bytes32 schainHash, address token) external view returns (uint256); + function isReceiverTrusted(SchainHash schainHash, address receiver) external view returns (bool); + function getArbitrageDuration(SchainHash schainHash) external view returns (uint256); + function getBigTransferThreshold(SchainHash schainHash, address token) external view returns (uint256); function getDelayedAmount(address receiver, address token) external view returns (uint256 value); function getNextUnlockTimestamp(address receiver, address token) external view returns (uint256 unlockTimestamp); function getSchainToERC20(string calldata schainName, address erc20OnMainnet) external view returns (bool); @@ -60,7 +60,7 @@ interface IDepositBoxERC20 is IDepositBox { external view returns (address[] memory); - function getTimeDelay(bytes32 schainHash) external view returns (uint256); + function getTimeDelay(SchainHash schainHash) external view returns (uint256); function getTrustedReceiver(string calldata schainName, uint256 index) external view returns (address); - function getTrustedReceiversAmount(bytes32 schainHash) external view returns (uint256); + function getTrustedReceiversAmount(SchainHash schainHash) external view returns (uint256); } diff --git a/contracts/mainnet/IMessageProxyForMainnet.sol b/contracts/mainnet/IMessageProxyForMainnet.sol index 4531342..8b7839f 100644 --- a/contracts/mainnet/IMessageProxyForMainnet.sol +++ b/contracts/mainnet/IMessageProxyForMainnet.sol @@ -33,11 +33,11 @@ interface IMessageProxyForMainnet is IMessageProxy { function addReimbursedContract(string memory schainName, address reimbursedContract) external; function removeReimbursedContract(string memory schainName, address reimbursedContract) external; function messageInProgress() external view returns (bool); - function isPaused(bytes32 schainHash) external view returns (bool); - function isReimbursedContract(bytes32 schainHash, address contractAddress) external view returns (bool); - function getReimbursedContractsLength(bytes32 schainHash) external view returns (uint256); + function isPaused(SchainHash schainHash) external view returns (bool); + function isReimbursedContract(SchainHash schainHash, address contractAddress) external view returns (bool); + function getReimbursedContractsLength(SchainHash schainHash) external view returns (uint256); function getReimbursedContractsRange( - bytes32 schainHash, + SchainHash schainHash, uint256 from, uint256 to ) diff --git a/contracts/mainnet/ISkaleManagerClient.sol b/contracts/mainnet/ISkaleManagerClient.sol index 032e1e2..2363303 100644 --- a/contracts/mainnet/ISkaleManagerClient.sol +++ b/contracts/mainnet/ISkaleManagerClient.sol @@ -29,5 +29,5 @@ import {SchainHash} from "../DomainTypes.sol"; interface ISkaleManagerClient { function initialize(IContractManager newContractManagerOfSkaleManager) external; function isSchainOwner(address sender, SchainHash schainHash) external view returns (bool); - function isAgentAuthorized(bytes32 schainHash, address sender) external view returns (bool); + function isAgentAuthorized(SchainHash schainHash, address sender) external view returns (bool); }