aave-protocol-v2/contracts/mocks/attacks/SefldestructTransfer.sol

9 lines
191 B
Solidity

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