message: Doxygen for wallet and currency contract.
diff: namespace TOKEN_NAME {
  + /**
  + * @defgroup currencyapi Currency Contract API
  + * @brief Defines the curency contract
  + * @ingroup contractapi
  + *
  + * @{
  + */
  +
  + /**
  + * Defines a currency token
  + */
  typedef eos::token<uint64_t,N(currency)> CurrencyTokens;
  /**
  @@ -18,8 +29,17 @@ namespace TOKEN_NAME {
  * accounts notified and that the sender has provided authorization.
  */
  struct Transfer {
  + /**
  + * Account to transfer from
  + */
  AccountName from;
  + /**
  + * Account to transfer to
  + */
  AccountName to;
  + /**
  + * quantity to transfer
  + */
  CurrencyTokens quantity;
  };
  @@ -27,18 +47,36 @@ namespace TOKEN_NAME {
  * @brief row in Account table stored within each scope
  */
  struct Account {
  + /**
  + Constructor with default zero quantity (balance).
  + */
  Account( CurrencyTokens b = CurrencyTokens() ):balance(b){}
  /**
  * The key is constant because there is only one record per scope/currency/accounts
  */
  const uint64_t key = N(account);
  +
  + /**
  + * Balance number of tokens in account
  + **/
  CurrencyTokens balance;
  + /**
  + Method to check if accoutn is empty.
  + @return true if account balance is zero.
  + **/
  bool isEmpty()const { return balance.quantity == 0; }
  };
  +
  + /**
  + Assert statement to verify structure packing for Account
  + **/
  static_assert( sizeof(Account) == sizeof(uint64_t)+sizeof(CurrencyTokens), "unexpected packing" );
  + /**
  + Defines the database table for Account information
  + **/
  using Accounts = Table<N(currency),N(currency),N(account),Account,uint64_t>;
  /**
  @@ -49,6 +87,8 @@ namespace TOKEN_NAME {
  * This API is made available for 3rd parties wanting read access to
  * the users balance. If the account doesn't exist a default constructed
  * account will be returned.
  + * @param owner The account owner
  + * @return Account instance
  */
  inline Account getAccount( AccountName owner ) {
  Account account;
  @@ -57,5 +97,5 @@ namespace TOKEN_NAME {
  return account;
  }
  -} /// namespace TOKEN_NAME
  +} /// @} /// currencyapi
  