Method: Hive::Broadcast.delegate_vesting_shares
- Defined in:
- lib/hive/broadcast.rb
.delegate_vesting_shares(options, &block) ⇒ Object
Delegate vesting shares from one account to the other.
1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 |
# File 'lib/hive/broadcast.rb', line 1173 def self.delegate_vesting_shares(, &block) required_fields = %i(delegator delegatee vesting_shares) params = [:params] check_required_fields(params, *required_fields) params[:vesting_shares] = normalize_amount(.merge amount: params[:vesting_shares]) ops = [[:delegate_vesting_shares, params]] process(.merge(ops: ops), &block) end |