create account

RE: Implementing a Hypothetical Currency Application on EOS by jamesc1

View this thread on: hive.blogpeakd.comecency.com

Viewing a response to: @eosio/implementing-a-hypothetical-currency-application-on-eos

· @jamesc1 · (edited)
Great to see your recent work on the language.  Very clean.  You said it would change so here goes..

It would be very cool to get rid of this: `Balance.save(to)` and this `Balance.save(from)`.  The contract would need to be transactional to some extent so a failed assertion or error would roll all the changes.

This is motivating me to add your text format in a struct serialization parser.   Using text in addition to json is a very easy enhancement.
👍  , ,
properties (23)
authorjamesc1
permlinkre-eosio-implementing-a-hypothetical-currency-application-on-eos-20170517t163416197z
categoryeos
json_metadata{"tags":["eos"],"app":"steemit/0.1"}
created2017-05-17 16:34:15
last_update2017-05-17 16:35:03
depth1
children0
last_payout2017-05-24 16:34:15
cashout_time1969-12-31 23:59:59
total_payout_value0.000 HBD
curator_payout_value0.000 HBD
pending_payout_value0.000 HBD
promoted0.000 HBD
body_length454
author_reputation939,862,516,890
root_title"Implementing a Hypothetical Currency Application on EOS"
beneficiaries[]
max_accepted_payout1,000,000.000 HBD
percent_hbd10,000
post_id3,497,865
net_rshares1,348,901,465
author_curate_reward""
vote details (3)