dsa-connectors/contracts/mainnet/connectors/polygon-bridge/interface.sol

20 lines
545 B
Solidity
Raw Normal View History

2021-04-12 10:48:42 +00:00
pragma solidity ^0.7.0;
interface RootChainManagerInterface {
function depositEtherFor(address user) external payable;
2021-06-02 17:13:15 +00:00
function rootToChildToken(address user) external view returns(address);
2021-04-12 10:48:42 +00:00
function depositFor(
address user,
address rootToken,
bytes calldata depositData
) external;
function exit(bytes calldata inputData) external;
2021-06-02 17:13:15 +00:00
}
interface DepositManagerProxyInterface {
function depositERC20ForUser(
address _token,
address _user,
uint256 _amount
) external;
2021-04-12 10:48:42 +00:00
}