This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function transferProxy(address _from, address _to, uint256 _value, uint256 _fee, | |
uint8 _v, bytes32 _r, bytes32 _s) public returns (bool){ | |
if(balances[_from] < _fee + _value || _fee > _fee + _value) revert(); | |
uint256 nonce = nonces[_from]; | |
bytes32 h = keccak256(_from,_to,_value,_fee,nonce); | |
if(_from != ecrecover(h,_v,_r,_s)) revert(); | |
if(balances[_to] + _value < balances[_to] |