dsa-connectors/contracts/mainnet/connectors/polygon-bridge/interface.sol
2021-06-02 22:43:15 +05:30

20 lines
545 B
Solidity

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;
}