dsa-connectors/contracts/mainnet/connectors/polygon-bridge/interface.sol
2022-03-22 20:54:40 +05:30

21 lines
576 B
Solidity

//SPDX-License-Identifier: MIT
pragma solidity ^0.7.0;
interface RootChainManagerInterface {
function depositEtherFor(address user) external payable;
function rootToChildToken(address user) external view returns(address);
function depositFor(
address user,
address rootToken,
bytes calldata depositData
) external;
function exit(bytes calldata inputData) external;
}
interface DepositManagerProxyInterface {
function depositERC20ForUser(
address _token,
address _user,
uint256 _amount
) external;
}