Skip to content

Commit

Permalink
Add transferToSchainERC20Direct function to ITokenManagerERC20 interface
Browse files Browse the repository at this point in the history
  • Loading branch information
yavrsky committed Dec 16, 2024
1 parent 89aff4a commit 29453cb
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion contracts/schain/TokenManagers/ITokenManagerERC20.sol
Original file line number Diff line number Diff line change
Expand Up @@ -33,9 +33,15 @@ interface ITokenManagerERC20 is ITokenContractManager {
address contractOnMainnet,
uint256 amount
) external;
function transferToSchainERC20Direct(
string calldata targetSchainName,
address contractOnMainnet,
uint256 amount,
address to
) external;
function addERC20TokenByOwner(
string calldata targetChainName,
address erc20OnMainnet,
address erc20OnSchain
) external;
}
}

0 comments on commit 29453cb

Please sign in to comment.