aave-protocol-v2/contracts/mocks/attacks/SefldestructTransfer.sol
2020-11-20 11:45:20 +01:00

9 lines
191 B
Solidity

// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.6.12;
contract SelfdestructTransfer {
function destroyAndTransfer(address payable to) external payable {
selfdestruct(to);
}
}