mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
remove transfer tokens function
This commit is contained in:
parent
3ebf7cbb89
commit
32ccc0ccdc
|
|
@ -47,12 +47,7 @@ contract Matcha {
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// Transfer tokens held by this contrat to the sender/owner.
|
|
||||||
function withdrawToken(TokenInterface token, uint256 amount)
|
|
||||||
external
|
|
||||||
{
|
|
||||||
require(token.transfer(address(this), amount));
|
|
||||||
}
|
|
||||||
|
|
||||||
// Transfer ETH held by this contrat to the sender/owner.
|
// Transfer ETH held by this contrat to the sender/owner.
|
||||||
function withdrawETH(uint256 amount)
|
function withdrawETH(uint256 amount)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user