diff options
Diffstat (limited to 'packages/metacoin/contracts/Metacoin.sol')
-rw-r--r-- | packages/metacoin/contracts/Metacoin.sol | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/packages/metacoin/contracts/Metacoin.sol b/packages/metacoin/contracts/Metacoin.sol index ac212b32e..6b6814b21 100644 --- a/packages/metacoin/contracts/Metacoin.sol +++ b/packages/metacoin/contracts/Metacoin.sol @@ -11,11 +11,6 @@ contract Metacoin { uint256 amount; } - struct NestedTransferData { - TransferData transferData; - uint32 callback; - } - function Metacoin() public { balances[msg.sender] = 10000; } @@ -27,14 +22,4 @@ contract Metacoin { Transfer(msg.sender, transferData.to, transferData.amount); return true; } - - function transfer(TransferData transferData, uint32 callback) public returns (int) { - transfer(transferData); - return callback; - } - - function transfer(NestedTransferData nestedTransferData) public returns (int) { - return transfer(nestedTransferData.transferData, nestedTransferData.callback); - } - } |