mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
21 lines
576 B
Solidity
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;
|
|
} |