Scorum
|
Wallet Advertising API. More...
Wallet Advertising API.
annotated_signed_transaction scorum::wallet::wallet_api::close_budget_for_banner | ( | const uuid_type & | uuid, |
const std::string & | owner, | ||
bool | broadcast | ||
) |
Closing the budget (for BANNER type). The budget rest is returned to the owner's account
uuid | |
owner | |
broadcast |
Definition at line 2698 of file wallet.cpp.
annotated_signed_transaction scorum::wallet::wallet_api::close_budget_for_banner_by_moderator | ( | const uuid_type & | uuid, |
const std::string & | moderator, | ||
bool | broadcast | ||
) |
Closing the budget (for BANNER type). The budget rest is returned to the owner's account
uuid | |
moderator | |
broadcast |
Definition at line 2734 of file wallet.cpp.
annotated_signed_transaction scorum::wallet::wallet_api::close_budget_for_post | ( | const uuid_type & | uuid, |
const std::string & | owner, | ||
bool | broadcast | ||
) |
Closing the budget (for POST type). The budget rest is returned to the owner's account
uuid | |
owner | |
broadcast |
Definition at line 2680 of file wallet.cpp.
annotated_signed_transaction scorum::wallet::wallet_api::close_budget_for_post_by_moderator | ( | const uuid_type & | uuid, |
const std::string & | moderator, | ||
bool | broadcast | ||
) |
Closing the budget (for POST type). The budget rest is returned to the owner's account
uuid | |
moderator | |
broadcast |
Definition at line 2715 of file wallet.cpp.
annotated_signed_transaction scorum::wallet::wallet_api::create_budget_for_banner | ( | const std::string & | owner, |
const uuid_type & | uuid, | ||
const std::string & | json_metadata, | ||
const asset & | balance, | ||
const time_point_sec & | start, | ||
const time_point_sec & | deadline, | ||
bool | broadcast | ||
) |
This method will create new budget (for BANNER type) linked to owner account.
owner | the futrue owner of creating budget |
uuid | budget uuid |
json_metadata | the budget target identity (post or other) |
balance | |
start | the time to start allocation cash from budget |
deadline | the deadline time to close budget (even if there is rest of balance) |
broadcast | true if you wish to broadcast the transaction |
Definition at line 2618 of file wallet.cpp.
annotated_signed_transaction scorum::wallet::wallet_api::create_budget_for_post | ( | const std::string & | owner, |
const uuid_type & | uuid, | ||
const std::string & | json_metadata, | ||
const asset & | balance, | ||
const time_point_sec & | start, | ||
const time_point_sec & | deadline, | ||
bool | broadcast | ||
) |
This method will create new budget (for POST type) linked to owner account.
owner | the futrue owner of creating budget |
uuid | budget uuid |
json_metadata | the budget target identity (post or other) |
balance | |
start | the time to start allocation cash from budget |
deadline | the deadline time to close budget (even if there is rest of balance) |
broadcast | true if you wish to broadcast the transaction |
Definition at line 2591 of file wallet.cpp.
std::vector< budget_api_obj > scorum::wallet::wallet_api::get_banner_budgets | ( | const std::string & | account_name | ) |
Gets the budget (for BANNER type) information for certain account
account_name |
Definition at line 2584 of file wallet.cpp.
std::vector< budget_api_obj > scorum::wallet::wallet_api::get_post_budgets | ( | const std::string & | account_name | ) |
Gets the budget (for POST type) information for certain account
account_name |
Definition at line 2577 of file wallet.cpp.
std::set< std::string > scorum::wallet::wallet_api::list_banner_budget_owners | ( | const std::string & | lowerbound, |
uint32_t | limit | ||
) |
Gets the list of all budget (for BANNER type) owners (look list_accounts to understand input parameters)
lowerbound | |
limit |
Definition at line 2572 of file wallet.cpp.
std::vector< budget_api_obj > scorum::wallet::wallet_api::list_my_budgets | ( | ) |
Gets the budget information for all my budgets (list_my_accounts)
Definition at line 2535 of file wallet.cpp.
std::set< std::string > scorum::wallet::wallet_api::list_post_budget_owners | ( | const std::string & | lowerbound, |
uint32_t | limit | ||
) |
Gets the list of all budget (for POST type) owners (look list_accounts to understand input parameters)
lowerbound | |
limit |
Definition at line 2567 of file wallet.cpp.
annotated_signed_transaction scorum::wallet::wallet_api::update_budget_for_banner | ( | const std::string & | owner, |
const uuid_type & | uuid, | ||
const std::string & | json_metadata, | ||
bool | broadcast | ||
) |
This method will update budget metadata for banner by owner name and budget uuid
owner | account name |
uuid | budget uuid |
json_metadata | some metadata |
broadcast | true if you wish to broadcast the transaction |
Definition at line 2661 of file wallet.cpp.
annotated_signed_transaction scorum::wallet::wallet_api::update_budget_for_post | ( | const std::string & | owner, |
const uuid_type & | uuid, | ||
const std::string & | json_metadata, | ||
bool | broadcast | ||
) |
This method will update budget metadata for post by owner name and budget uuid
owner | account name |
uuid | budget uuid |
json_metadata | some metadata |
broadcast | true if you wish to broadcast the transaction |
Definition at line 2670 of file wallet.cpp.