diff --git a/doc/README.md b/doc/README.md index 020aac48..5daa62e1 100644 --- a/doc/README.md +++ b/doc/README.md @@ -532,6 +532,18 @@ steem.broadcast.accountCreate(wif, fee, creator, newAccountName, owner, active, console.log(err, result); }); ``` +### Account Create With Delegation +``` +steem.broadcast.accountCreateWithDelegation(wif, fee, delegation, creator, newAccountName, owner, active, posting, memoKey, jsonMetadata, extensions, function(err, result) { + console.log(err, result); +}); +``` +### Delegate Vesting Shares +``` +steem.broadcast.delegateVestingShares(wif, delegator, delegatee, vesting_shares, function(err, result) { + console.log(err, result); +}); +``` ### Account Update ``` steem.broadcast.accountUpdate(wif, account, owner, active, posting, memoKey, jsonMetadata, function(err, result) { diff --git a/package.json b/package.json index 3bfe2a10..d0ed4c80 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "steem", - "version": "0.5.1", + "version": "0.5.2", "description": "Steem.js the JavaScript API for Steem blockchain", "main": "index.js", "scripts": { diff --git a/src/auth/serializer/src/ChainTypes.js b/src/auth/serializer/src/ChainTypes.js index e836c87c..ca49e2a6 100644 --- a/src/auth/serializer/src/ChainTypes.js +++ b/src/auth/serializer/src/ChainTypes.js @@ -49,18 +49,22 @@ ChainTypes.operations= { reset_account: 37, set_reset_account: 38, claim_reward_balance: 39, - fill_convert_request: 40, - author_reward: 41, - curation_reward: 42, - comment_reward: 43, - liquidity_reward: 44, - interest: 45, - fill_vesting_withdraw: 46, - fill_order: 47, - shutdown_witness: 48, - fill_transfer_from_savings: 49, - hardfork: 50, - comment_payout_update: 51 + delegate_vesting_shares: 40, + account_create_with_delegation: 41, + fill_convert_request: 42, + author_reward: 43, + curation_reward: 44, + comment_reward: 45, + liquidity_reward: 46, + interest: 47, + fill_vesting_withdraw: 48, + fill_order: 49, + shutdown_witness: 50, + fill_transfer_from_savings: 51, + hardfork: 52, + comment_payout_update: 53, + return_vesting_delegation: 54, + comment_benefactor_reward: 55 }; //types.hpp diff --git a/src/auth/serializer/src/operations.js b/src/auth/serializer/src/operations.js index b10d55a5..2c5e33a8 100644 --- a/src/auth/serializer/src/operations.js +++ b/src/auth/serializer/src/operations.js @@ -5,13 +5,27 @@ ./js_operation_serializer | sed 's/void/future_extensions/g'| sed 's/steemit_protocol:://g'| -sed 's/14static_variantIJNS_12fixed_stringISt4pairImmEEEEEE/string/g'| +sed 's/14static_variantIJNS_12fixed_stringINSt3__14pairIyyEEEEEEE/string/g'| sed 's/steemit_future_extensions/future_extensions/g'| sed 's/steemit_protocol_//g' > tmp.coffee */ // coffee tmp.coffee # fix errors until you see: `ChainTypes is not defined` +/* + + remove these 7 lines from tmp.coffee: + +static_variant [ + pow2 + equihash_pow +] = static_variant [ + pow2 + equihash_pow +] + +*/ + // npm i -g decaffeinate // decaffeinate tmp.coffee @@ -36,6 +50,7 @@ const { const future_extensions = types.void const hardfork_version_vote = types.void const version = types.void +const comment_payout_beneficiaries = types.void // Place-holder, their are dependencies on "operation" .. The final list of // operations is not avialble until the very end of the generated code. @@ -74,7 +89,7 @@ Replace: authority.prototype.account_authority_map With: map((string), (uint16)) */ let signed_transaction = new Serializer( - "signed_transaction",{ + "signed_transaction", { ref_block_num: uint16, ref_block_prefix: uint32, expiration: time_point_sec, @@ -85,7 +100,7 @@ let signed_transaction = new Serializer( ); let signed_block = new Serializer( - "signed_block",{ + "signed_block", { previous: bytes(20), timestamp: time_point_sec, witness: string, @@ -101,7 +116,7 @@ let signed_block = new Serializer( ); let block_header = new Serializer( - "block_header",{ + "block_header", { previous: bytes(20), timestamp: time_point_sec, witness: string, @@ -115,7 +130,7 @@ let block_header = new Serializer( ); let signed_block_header = new Serializer( - "signed_block_header",{ + "signed_block_header", { previous: bytes(20), timestamp: time_point_sec, witness: string, @@ -130,7 +145,7 @@ let signed_block_header = new Serializer( ); let vote = new Serializer( - "vote",{ + "vote", { voter: string, author: string, permlink: string, @@ -139,7 +154,7 @@ let vote = new Serializer( ); let comment = new Serializer( - "comment",{ + "comment", { parent_author: string, parent_permlink: string, author: string, @@ -151,7 +166,7 @@ let comment = new Serializer( ); let transfer = new Serializer( - "transfer",{ + "transfer", { from: string, to: string, amount: asset, @@ -160,7 +175,7 @@ let transfer = new Serializer( ); let transfer_to_vesting = new Serializer( - "transfer_to_vesting",{ + "transfer_to_vesting", { from: string, to: string, amount: asset @@ -168,14 +183,14 @@ let transfer_to_vesting = new Serializer( ); let withdraw_vesting = new Serializer( - "withdraw_vesting",{ + "withdraw_vesting", { account: string, vesting_shares: asset } ); let limit_order_create = new Serializer( - "limit_order_create",{ + "limit_order_create", { owner: string, orderid: uint32, amount_to_sell: asset, @@ -186,36 +201,36 @@ let limit_order_create = new Serializer( ); let limit_order_cancel = new Serializer( - "limit_order_cancel",{ + "limit_order_cancel", { owner: string, orderid: uint32 } ); let price = new Serializer( - "price",{ + "price", { base: asset, quote: asset } ); let feed_publish = new Serializer( - "feed_publish",{ + "feed_publish", { publisher: string, exchange_rate: price } ); let convert = new Serializer( - "convert",{ + "convert", { owner: string, requestid: uint32, amount: asset } ); -let authority = new Serializer( - "authority",{ +var authority = new Serializer( + "authority", { weight_threshold: uint32, account_auths: map((string), (uint16)), key_auths: map((public_key), (uint16)) @@ -223,7 +238,7 @@ let authority = new Serializer( ); let account_create = new Serializer( - "account_create",{ + "account_create", { fee: asset, creator: string, new_account_name: string, @@ -236,7 +251,7 @@ let account_create = new Serializer( ); let account_update = new Serializer( - "account_update",{ + "account_update", { account: string, owner: optional(authority), active: optional(authority), @@ -247,7 +262,7 @@ let account_update = new Serializer( ); let chain_properties = new Serializer( - "chain_properties",{ + "chain_properties", { account_creation_fee: asset, maximum_block_size: uint32, sbd_interest_rate: uint16 @@ -255,7 +270,7 @@ let chain_properties = new Serializer( ); let witness_update = new Serializer( - "witness_update",{ + "witness_update", { owner: string, url: string, block_signing_key: public_key, @@ -265,7 +280,7 @@ let witness_update = new Serializer( ); let account_witness_vote = new Serializer( - "account_witness_vote",{ + "account_witness_vote", { account: string, witness: string, approve: bool @@ -273,14 +288,14 @@ let account_witness_vote = new Serializer( ); let account_witness_proxy = new Serializer( - "account_witness_proxy",{ + "account_witness_proxy", { account: string, proxy: string } ); let pow = new Serializer( - "pow",{ + "pow", { worker: public_key, input: bytes(32), signature: bytes(65), @@ -289,7 +304,7 @@ let pow = new Serializer( ); let custom = new Serializer( - "custom",{ + "custom", { required_auths: set(string), id: uint16, data: bytes() @@ -297,7 +312,7 @@ let custom = new Serializer( ); let report_over_production = new Serializer( - "report_over_production",{ + "report_over_production", { reporter: string, first_block: signed_block_header, second_block: signed_block_header @@ -305,14 +320,14 @@ let report_over_production = new Serializer( ); let delete_comment = new Serializer( - "delete_comment",{ + "delete_comment", { author: string, permlink: string } ); let custom_json = new Serializer( - "custom_json",{ + "custom_json", { required_auths: set(string), required_posting_auths: set(string), id: string, @@ -321,19 +336,21 @@ let custom_json = new Serializer( ); let comment_options = new Serializer( - "comment_options",{ + "comment_options", { author: string, permlink: string, max_accepted_payout: asset, percent_steem_dollars: uint16, allow_votes: bool, allow_curation_rewards: bool, - extensions: set(future_extensions) + extensions: set(static_variant([ + comment_payout_beneficiaries + ])) } ); let set_withdraw_vesting_route = new Serializer( - "set_withdraw_vesting_route",{ + "set_withdraw_vesting_route", { from_account: string, to_account: string, percent: uint16, @@ -342,7 +359,7 @@ let set_withdraw_vesting_route = new Serializer( ); let limit_order_create2 = new Serializer( - "limit_order_create2",{ + "limit_order_create2", { owner: string, orderid: uint32, amount_to_sell: asset, @@ -353,7 +370,7 @@ let limit_order_create2 = new Serializer( ); let challenge_authority = new Serializer( - "challenge_authority",{ + "challenge_authority", { challenger: string, challenged: string, require_owner: bool @@ -361,14 +378,14 @@ let challenge_authority = new Serializer( ); let prove_authority = new Serializer( - "prove_authority",{ + "prove_authority", { challenged: string, require_owner: bool } ); let request_account_recovery = new Serializer( - "request_account_recovery",{ + "request_account_recovery", { recovery_account: string, account_to_recover: string, new_owner_authority: authority, @@ -377,7 +394,7 @@ let request_account_recovery = new Serializer( ); let recover_account = new Serializer( - "recover_account",{ + "recover_account", { account_to_recover: string, new_owner_authority: authority, recent_owner_authority: authority, @@ -386,7 +403,7 @@ let recover_account = new Serializer( ); let change_recovery_account = new Serializer( - "change_recovery_account",{ + "change_recovery_account", { account_to_recover: string, new_recovery_account: string, extensions: set(future_extensions) @@ -394,7 +411,7 @@ let change_recovery_account = new Serializer( ); let escrow_transfer = new Serializer( - "escrow_transfer",{ + "escrow_transfer", { from: string, to: string, sbd_amount: asset, @@ -409,7 +426,7 @@ let escrow_transfer = new Serializer( ); let escrow_dispute = new Serializer( - "escrow_dispute",{ + "escrow_dispute", { from: string, to: string, agent: string, @@ -419,7 +436,7 @@ let escrow_dispute = new Serializer( ); let escrow_release = new Serializer( - "escrow_release",{ + "escrow_release", { from: string, to: string, agent: string, @@ -432,7 +449,7 @@ let escrow_release = new Serializer( ); let pow2_input = new Serializer( - "pow2_input",{ + "pow2_input", { worker_account: string, prev_block: bytes(20), nonce: uint64 @@ -440,14 +457,14 @@ let pow2_input = new Serializer( ); let pow2 = new Serializer( - "pow2",{ + "pow2", { input: pow2_input, pow_summary: uint32 } ); let equihash_proof = new Serializer( - "equihash_proof",{ + "equihash_proof", { n: uint32, k: uint32, seed: bytes(32), @@ -456,7 +473,7 @@ let equihash_proof = new Serializer( ); let equihash_pow = new Serializer( - "equihash_pow",{ + "equihash_pow", { input: pow2_input, proof: equihash_proof, prev_block: bytes(20), @@ -465,7 +482,7 @@ let equihash_pow = new Serializer( ); let escrow_approve = new Serializer( - "escrow_approve",{ + "escrow_approve", { from: string, to: string, agent: string, @@ -476,7 +493,7 @@ let escrow_approve = new Serializer( ); let transfer_to_savings = new Serializer( - "transfer_to_savings",{ + "transfer_to_savings", { from: string, to: string, amount: asset, @@ -485,7 +502,7 @@ let transfer_to_savings = new Serializer( ); let transfer_from_savings = new Serializer( - "transfer_from_savings",{ + "transfer_from_savings", { from: string, request_id: uint32, to: string, @@ -495,14 +512,14 @@ let transfer_from_savings = new Serializer( ); let cancel_transfer_from_savings = new Serializer( - "cancel_transfer_from_savings",{ + "cancel_transfer_from_savings", { from: string, request_id: uint32 } ); let custom_binary = new Serializer( - "custom_binary",{ + "custom_binary", { required_owner_auths: set(string), required_active_auths: set(string), required_posting_auths: set(string), @@ -513,14 +530,14 @@ let custom_binary = new Serializer( ); let decline_voting_rights = new Serializer( - "decline_voting_rights",{ + "decline_voting_rights", { account: string, decline: bool } ); let reset_account = new Serializer( - "reset_account",{ + "reset_account", { reset_account: string, account_to_reset: string, new_owner_authority: authority @@ -528,7 +545,7 @@ let reset_account = new Serializer( ); let set_reset_account = new Serializer( - "set_reset_account",{ + "set_reset_account", { account: string, current_reset_account: string, reset_account: string @@ -536,7 +553,7 @@ let set_reset_account = new Serializer( ); let claim_reward_balance = new Serializer( - "claim_reward_balance",{ + "claim_reward_balance", { account: string, reward_steem: asset, reward_sbd: asset, @@ -544,8 +561,31 @@ let claim_reward_balance = new Serializer( } ); +let delegate_vesting_shares = new Serializer( + "delegate_vesting_shares", { + delegator: string, + delegatee: string, + vesting_shares: asset +} +); + +let account_create_with_delegation = new Serializer( + "account_create_with_delegation", { + fee: asset, + delegation: asset, + creator: string, + new_account_name: string, + owner: authority, + active: authority, + posting: authority, + memo_key: public_key, + json_metadata: string, + extensions: set(future_extensions) +} +); + let fill_convert_request = new Serializer( - "fill_convert_request",{ + "fill_convert_request", { owner: string, requestid: uint32, amount_in: asset, @@ -554,7 +594,7 @@ let fill_convert_request = new Serializer( ); let author_reward = new Serializer( - "author_reward",{ + "author_reward", { author: string, permlink: string, sbd_payout: asset, @@ -564,7 +604,7 @@ let author_reward = new Serializer( ); let curation_reward = new Serializer( - "curation_reward",{ + "curation_reward", { curator: string, reward: asset, comment_author: string, @@ -573,7 +613,7 @@ let curation_reward = new Serializer( ); let comment_reward = new Serializer( - "comment_reward",{ + "comment_reward", { author: string, permlink: string, payout: asset @@ -581,21 +621,21 @@ let comment_reward = new Serializer( ); let liquidity_reward = new Serializer( - "liquidity_reward",{ + "liquidity_reward", { owner: string, payout: asset } ); let interest = new Serializer( - "interest",{ + "interest", { owner: string, interest: asset } ); let fill_vesting_withdraw = new Serializer( - "fill_vesting_withdraw",{ + "fill_vesting_withdraw", { from_account: string, to_account: string, withdrawn: asset, @@ -604,7 +644,7 @@ let fill_vesting_withdraw = new Serializer( ); let fill_order = new Serializer( - "fill_order",{ + "fill_order", { current_owner: string, current_orderid: uint32, current_pays: asset, @@ -620,7 +660,7 @@ let shutdown_witness = new Serializer( ); let fill_transfer_from_savings = new Serializer( - "fill_transfer_from_savings",{ + "fill_transfer_from_savings", { from: string, to: string, amount: asset, @@ -635,12 +675,28 @@ let hardfork = new Serializer( ); let comment_payout_update = new Serializer( - "comment_payout_update",{ + "comment_payout_update", { author: string, permlink: string } ); +let return_vesting_delegation = new Serializer( + "return_vesting_delegation", { + account: string, + vesting_shares: asset +} +); + +let comment_benefactor_reward = new Serializer( + "comment_benefactor_reward", { + benefactor: string, + author: string, + permlink: string, + reward: asset +} +); + operation.st_operations = [ vote, comment, @@ -682,6 +738,8 @@ operation.st_operations = [ reset_account, set_reset_account, claim_reward_balance, + delegate_vesting_shares, + account_create_with_delegation, fill_convert_request, author_reward, curation_reward, @@ -693,11 +751,13 @@ operation.st_operations = [ shutdown_witness, fill_transfer_from_savings, hardfork, - comment_payout_update -] + comment_payout_update, + return_vesting_delegation, + comment_benefactor_reward +]; let transaction = new Serializer( - "transaction",{ + "transaction", { ref_block_num: uint16, ref_block_prefix: uint32, expiration: time_point_sec, @@ -726,4 +786,4 @@ const encrypted_memo = new Serializer( npm test -*/ \ No newline at end of file +*/ diff --git a/src/broadcast/operations.json b/src/broadcast/operations.json index b235c8a3..830365bb 100644 --- a/src/broadcast/operations.json +++ b/src/broadcast/operations.json @@ -1,4 +1,99 @@ [ + { + "roles": ["posting"], + "operation": "vote", + "params": [ + "voter", + "author", + "permlink", + "weight" + ] + }, + { + "roles": ["posting"], + "operation": "comment", + "params": [ + "parent_author", + "parent_permlink", + "author", + "permlink", + "title", + "body", + "json_metadata" + ] + }, + { + "roles": ["active", "owner"], + "operation": "transfer", + "params": [ + "from", + "to", + "amount", + "memo" + ] + }, + { + "roles": ["active"], + "operation": "transfer_to_vesting", + "params": [ + "from", + "to", + "amount" + ] + }, + { + "roles": ["active"], + "operation": "withdraw_vesting", + "params": [ + "account", + "vesting_shares" + ] + }, + { + "roles": ["active"], + "operation": "limit_order_create", + "params": [ + "owner", + "orderid", + "amount_to_sell", + "min_to_receive", + "fill_or_kill", + "expiration" + ] + }, + { + "roles": ["active"], + "operation": "limit_order_cancel", + "params": [ + "owner", + "orderid" + ] + }, + { + "roles": ["active"], + "operation": "price", + "params": [ + "base", + "quote" + ] + }, + { + "roles": ["active"], + "operation": "feed_publish", + "params": [ + "publisher", + "exchange_rate" + ] + }, + { + "roles": ["active"], + "operation": "convert", + "params": [ + "owner", + "requestid", + "amount" + ] + }, { "roles": ["active"], "operation": "account_create", @@ -26,11 +121,14 @@ ] }, { - "roles": ["posting"], - "operation": "account_witness_proxy", + "roles": ["active"], + "operation": "witness_update", "params": [ - "account", - "proxy" + "owner", + "url", + "block_signing_key", + "props", + "fee" ] }, { @@ -44,119 +142,118 @@ }, { "roles": ["posting"], - "operation": "challenge_authority", + "operation": "account_witness_proxy", "params": [ - "challenger", - "challenged", - "require_owner" + "account", + "proxy" ] }, { - "roles": ["owner"], - "operation": "change_recovery_account", + "roles": ["active"], + "operation": "pow", "params": [ - "account_to_recover", - "new_recovery_account", - "extensions" + "worker", + "input", + "signature", + "work" ] }, { - "roles": ["posting"], - "operation": "comment", + "roles": ["active"], + "operation": "custom", "params": [ - "parent_author", - "parent_permlink", - "author", - "permlink", - "title", - "body", - "json_metadata" + "required_auths", + "id", + "data" ] }, { "roles": ["posting"], - "operation": "comment_options", + "operation": "delete_comment", "params": [ "author", - "permlink", - "max_accepted_payout", - "percent_steem_dollars", - "allow_votes", - "allow_curation_rewards", - "extensions" + "permlink" ] }, { - "roles": ["posting"], - "operation": "comment_payout", + "roles": ["posting", "active"], + "operation": "custom_json", "params": [ - "author", - "permlink", - "payout" + "required_auths", + "required_posting_auths", + "id", + "json" ] }, { "roles": ["posting"], - "operation": "comment_reward", + "operation": "comment_options", "params": [ "author", "permlink", - "sbd_payout", - "vesting_payout" + "max_accepted_payout", + "percent_steem_dollars", + "allow_votes", + "allow_curation_rewards", + "extensions" ] }, { "roles": ["active"], - "operation": "convert", + "operation": "set_withdraw_vesting_route", "params": [ - "owner", - "requestid", - "amount" + "from_account", + "to_account", + "percent", + "auto_vest" ] }, { "roles": ["active"], - "operation": "curate_reward", + "operation": "limit_order_create2", "params": [ - "curator", - "reward", - "comment_author", - "comment_permlink" + "owner", + "orderid", + "amount_to_sell", + "exchange_rate", + "fill_or_kill", + "expiration" ] }, { - "roles": ["active"], - "operation": "custom", + "roles": ["posting"], + "operation": "challenge_authority", "params": [ - "required_auths", - "id", - "data" + "challenger", + "challenged", + "require_owner" ] }, { - "roles": ["posting", "active", "owner"], - "operation": "custom_binary", + "roles": ["active", "owner"], + "operation": "prove_authority", "params": [ - "id", - "data" + "challenged", + "require_owner" ] }, { - "roles": ["posting", "active"], - "operation": "custom_json", + "roles": ["active"], + "operation": "request_account_recovery", "params": [ - "required_auths", - "required_posting_auths", - "id", - "json" + "recovery_account", + "account_to_recover", + "new_owner_authority", + "extensions" ] }, { - "roles": ["posting"], - "operation": "delete_comment", + "roles": ["owner"], + "operation": "change_recovery_account", "params": [ - "author", - "permlink" + "account_to_recover", + "new_recovery_account", + "extensions" ] }, { @@ -175,18 +272,6 @@ "json_meta" ] }, - { - "roles": ["active"], - "operation": "escrow_approve", - "params": [ - "from", - "to", - "agent", - "who", - "escrow_id", - "approve" - ] - }, { "roles": ["active"], "operation": "escrow_dispute", @@ -212,218 +297,157 @@ "steem_amount" ] }, - { - "roles": ["active"], - "operation": "feed_publish", - "params": [ - "publisher", - "exchange_rate" - ] - }, { "roles": ["active"], "operation": "pow2", "params": [ - "work", - "new_owner_key", - "props" - ] - }, - { - "roles": ["active"], - "operation": "fill_convert_request", - "params": [ - "owner", - "requestid", - "amount_in", - "amount_out" - ] - }, - { - "roles": ["posting"], - "operation": "fill_order", - "params": [ - "current_owner", - "current_orderid", - "current_pays", - "open_owner", - "open_orderid", - "open_pays" + "input", + "pow_summary" ] }, { "roles": ["active"], - "operation": "fill_vesting_withdraw", + "operation": "escrow_approve", "params": [ - "from_account", - "to_account", - "withdrawn", - "deposited" + "from", + "to", + "agent", + "who", + "escrow_id", + "approve" ] }, { "roles": ["active"], - "operation": "interest", + "operation": "transfer_to_savings", "params": [ - "owner", - "interest" + "from", + "to", + "amount", + "memo" ] }, { "roles": ["active"], - "operation": "limit_order_cancel", + "operation": "transfer_from_savings", "params": [ - "owner", - "orderid" + "from", + "request_id", + "to", + "amount", + "memo" ] }, { "roles": ["active"], - "operation": "limit_order_create", + "operation": "cancel_transfer_from_savings", "params": [ - "owner", - "orderid", - "amount_to_sell", - "min_to_receive", - "fill_or_kill", - "expiration" + "from", + "request_id" ] }, { - "roles": ["active"], - "operation": "limit_order_create2", + "roles": ["posting", "active", "owner"], + "operation": "custom_binary", "params": [ - "owner", - "orderid", - "amount_to_sell", - "exchange_rate", - "fill_or_kill", - "expiration" + "id", + "data" ] }, { - "roles": ["active"], - "operation": "liquidity_reward", + "roles": ["owner"], + "operation": "decline_voting_rights", "params": [ - "owner", - "payout" + "account", + "decline" ] }, { "roles": ["active"], - "operation": "pow", - "params": [ - "worker", - "input", - "signature", - "work" - ] - }, - { - "roles": ["active", "owner"], - "operation": "prove_authority", - "params": [ - "challenged", - "require_owner" - ] - }, - { - "roles": [], - "operation": "recover_account", + "operation": "reset_account", "params": [ - "account_to_recover", - "new_owner_authority", - "recent_owner_authority", - "extensions" + "reset_account", + "account_to_reset", + "new_owner_authority" ] }, { - "roles": [], - "operation": "report_over_production", + "roles": ["owner", "posting"], + "operation": "set_reset_account", "params": [ - "reporter", - "first_block", - "second_block" + "account", + "current_reset_account", + "reset_account" ] }, { - "roles": ["active"], - "operation": "request_account_recovery", + "roles": ["posting"], + "operation": "claim_reward_balance", "params": [ - "recovery_account", - "account_to_recover", - "new_owner_authority", - "extensions" + "account", + "reward_steem", + "reward_sbd", + "reward_vests" ] }, { - "operation": "escrow_approve", "roles": ["active"], + "operation": "delegate_vesting_shares", "params": [ - "from", - "to", - "agent", - "who", - "escrow_id", - "approve" + "delegator", + "delegatee", + "vesting_shares" ] }, { "roles": ["active"], - "operation": "set_withdraw_vesting_route", + "operation": "account_create_with_delegation", "params": [ - "from_account", - "to_account", - "percent", - "auto_vest" - ] - }, - { - "roles": ["active", "owner"], - "operation": "transfer", - "params": [ - "from", - "to", - "amount", - "memo" + "fee", + "delegation", + "creator", + "new_account_name", + "owner", + "active", + "posting", + "memo_key", + "json_metadata", + "extensions" ] }, { "roles": ["active"], - "operation": "transfer_to_vesting", + "operation": "fill_convert_request", "params": [ - "from", - "to", - "amount" + "owner", + "requestid", + "amount_in", + "amount_out" ] }, { "roles": ["posting"], - "operation": "vote", + "operation": "comment_reward", "params": [ - "voter", "author", "permlink", - "weight" + "payout" ] }, { "roles": ["active"], - "operation": "withdraw_vesting", + "operation": "liquidity_reward", "params": [ - "account", - "vesting_shares" + "owner", + "payout" ] }, { "roles": ["active"], - "operation": "witness_update", + "operation": "interest", "params": [ "owner", - "url", - "block_signing_key", - "props", - "fee" + "interest" ] }, { @@ -458,43 +482,5 @@ "request_id", "memo" ] - }, - { - "roles": ["posting"], - "operation": "comment_payout", - "params": [ - "author", - "permlink", - "payout" - ] - }, - { - "roles": ["active"], - "operation": "transfer_to_savings", - "params": [ - "from", - "to", - "amount", - "memo" - ] - }, - { - "roles": ["active"], - "operation": "transfer_from_savings", - "params": [ - "from", - "request_id", - "to", - "amount", - "memo" - ] - }, - { - "roles": ["active"], - "operation": "cancel_transfer_from_savings", - "params": [ - "from", - "request_id" - ] } ]