BitShares Forum
Main => General Discussion => Topic started by: mindphlux on October 19, 2015, 04:36:03 pm
-
Hi,
I looked in the CLI, but cannot find any commands that would allow me to create a worker proposal.
Thanks
-
Can somebody point to the solution here please?
-
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
);