30 namespace graphene {
namespace protocol {
134 (
fee)(
account)(authority_to_update)(new_enabled)(new_valid_from)
135 (new_valid_to)(new_auth)(restrictions_to_remove)(restrictions_to_add)(
extensions))
account_id_type account
Account which owns the custom authority to update; also pays the fee.
custom_authority_id_type authority_to_update
ID of the custom authority to update.
future_extensions::flat_set_type extensions_type
vector< restriction > restrictions
Restrictions on operations this custom authority can authenticate.
Identifies a weighted set of keys and accounts that must approve operations.
#define FC_REFLECT(TYPE, MEMBERS)
Specializes fc::reflector for TYPE.
account_id_type fee_payer() const
optional< time_point_sec > new_valid_to
Change to the custom authority expiration date.
Delete a custom authority.
share_type calculate_fee(const fee_parameters_type &k) const
account_id_type account
Account which owns the custom authority to update; also pays the fee.
optional< bool > new_enabled
Change to whether the custom authority is enabled or not.
bool enabled
Whether the custom authority is enabled or not.
custom_authority_id_type authority_to_delete
ID of the custom authority to delete.
Update a custom authority.
account_id_type fee_payer() const
provides stack-based nullable value similar to boost::optional
extensions_type extensions
time_point_sec valid_to
Expiration date for custom authority.
time_point_sec valid_from
Date when custom authority becomes active.
vector< restriction > restrictions_to_add
Vector of new restrictions.
#define GRAPHENE_BLOCKCHAIN_PRECISION
account_id_type fee_payer() const
extensions_type extensions
optional< authority > new_auth
Change to the authentication for the custom authority.
share_type calculate_fee(const fee_parameters_type &k) const
optional< time_point_sec > new_valid_from
Change to the custom authority begin date.
account_id_type account
Account which is setting the custom authority; also pays the fee.
unsigned_int operation_type
Tag of the operation this custom authority can authorize.
extensions_type extensions
authority auth
Authentication requirements for the custom authority.
Create a new custom authority.
flat_set< uint16_t > restrictions_to_remove
Set of IDs of restrictions to remove.