Method: Radiator::Mixins::ActsAsWallet#claim_reward_balance
- Defined in:
- lib/radiator/mixins/acts_as_wallet.rb
permalink #claim_reward_balance(options) ⇒ Object
16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 |
# File 'lib/radiator/mixins/acts_as_wallet.rb', line 16 def claim_reward_balance() reward_steem = [:reward_steem] || '0.000 STEEM' reward_sbd = [:reward_sbd] || '0.000 SBD' reward_vests = [:reward_vests] || '0.000000 VESTS' @operations << { type: :claim_reward_balance, account: account_name, reward_steem: reward_steem, reward_sbd: reward_sbd, reward_vests: reward_vests } self end |