You are viewing a single comment's thread from:

RE: The practice of programming using Graphene-based blockchains

in #steem6 years ago (edited)

Would you happen to know how max_accepted_payout is serialized?
Corresponding bytes: 00ca9a3b00000000|0353424400000000

I'm only curious about the first 8bytes. How does 1000000 become 00ca9a3b00000000?

The second 8bytes is obviously precision(03)+SBDsymbol(534244)+(00000000)


Just figured it out! I wasn't multiplying the amount (1000000) by (10*precision) :)


My claim_reward_balance operation is still having issues serializing the assets it seems ... Would you happen to have a serialized example of what this operation looks like?