From 560a855dc7e5066cc21360bd214dfb393add23e7 Mon Sep 17 00:00:00 2001 From: zava Date: Tue, 28 Nov 2017 23:04:39 -0300 Subject: [PATCH] further example documentation --- contracts/examples/SimpleSavingsWallet.sol | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/contracts/examples/SimpleSavingsWallet.sol b/contracts/examples/SimpleSavingsWallet.sol index f7f55c3cb..29e7d65a4 100644 --- a/contracts/examples/SimpleSavingsWallet.sol +++ b/contracts/examples/SimpleSavingsWallet.sol @@ -6,6 +6,11 @@ import "../ownership/Inheritable.sol"; /** * @title SimpleSavingsWallet * @dev Simplest form of savings wallet that can be inherited if owner dies. + * In this example, we take a very simple savings wallet providing two operations + * (to send and receive funds) and extend its capabilities by making it Inheritable. + * The account that creates the contract is set as owner, who has the authority to + * choose an heir account. Heir account can reclaim the contract ownership in the + * case that the owner dies. */ contract SimpleSavingsWallet is Inheritable { @@ -31,4 +36,4 @@ contract SimpleSavingsWallet is Inheritable { payee.transfer(amount); Sent(payee, amount, this.balance); } -} \ No newline at end of file +}