How do I create worker proposals?

Started by mindphlux, October 19, 2015, 04:36:03 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

maqifrnswa

Quote from: seraphim on October 22, 2015, 12:28:07 AM
Can somebody point to the solution here please?

the newest cli_wallet has a command for it.

     /**
       * Create a worker object.
       *
       * @param owner_account The account which owns the worker and will be paid
       * @param work_begin_date When the work begins
       * @param work_end_date When the work ends
       * @param daily_pay Amount of pay per day (NOT per maint interval)
       * @param name Any text
       * @param url Any text
       * @param worker_settings {"type" : "burn"|"refund"|"vesting", "pay_vesting_period_days" : x}
       * @param broadcast true if you wish to broadcast the transaction.
       */
signed_transaction create_worker(
         string owner_account,
         time_point_sec work_begin_date,
         time_point_sec work_end_date,
         share_type daily_pay,
         string name,
         string url,
         variant worker_settings,
         bool broadcast = false
         );
maintains an Ubuntu PPA: [url="https://launchpad.net/~showard314/+archive/ubuntu/bitshares"]https://launchpad.net/~showard314/+archive/ubuntu/bitshares[/url] [15% delegate] wallet_account_set_approval maqifrnswa true [50% delegate] wallet_account_set_approval delegate1.maqifrnswa true

seraphim

Can somebody point to the solution here please?
Meet you on STEEM

mindphlux

Hi,

I looked in the CLI, but cannot find any commands that would allow me to create a worker proposal.

Thanks
Please consider voting for my witness mindphlux.witness and my committee user mindphlux. I will not vote for changes that affect witness pay.