Branch: master
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
18 lines (13 sloc) 582 Bytes
pragma solidity ^0.4.24;
import {Wallet} from "./wallet/contracts/Wallet.sol";
/// @title Wallet contract with simple send and approval spending functionality
/// @author Piper Merriam <>
contract WalletWithSend is Wallet {
/// @dev Sends funds that have been approved to the specified address
/// @notice This will send the reciepient the specified amount.
function approvedSend(uint value, address to) public {
allowances[msg.sender] = allowances[msg.sender].safeSub(value);
if (!to.send(value))