def vests_to_rshares(self, vests, voting_power=CREA_100_PERCENT, vote_pct=CREA_100_PERCENT, subtract_dust_threshold=True, use_stored_data=True):
    ' Obtain the r-shares from vests\n\n            :param number vests: vesting shares\n            :param int voting_power: voting power (100% = 10000)\n            :param int vote_pct: voting percentage (100% = 10000)\n\n        '
    used_power = self._calc_resulting_vote(voting_power=voting_power, vote_pct=vote_pct, use_stored_data=use_stored_data)
    rshares = int(math.copysign((((vests * 1000000.0) * used_power) / CREA_100_PERCENT), vote_pct))
    if subtract_dust_threshold:
        if (abs(rshares) <= self.get_dust_threshold(use_stored_data=use_stored_data)):
            return 0
        rshares -= math.copysign(self.get_dust_threshold(use_stored_data=use_stored_data), vote_pct)
    return rshares
Obtain the r-shares from vests

:param number vests: vesting shares
:param int voting_power: voting power (100% = 10000)
:param int vote_pct: voting percentage (100% = 10000)
def vests_to_rshares(self, vests, voting_power=CREA_100_PERCENT, vote_pct=CREA_100_PERCENT, subtract_dust_threshold=True, use_stored_data=True):
    ' Obtain the r-shares from vests\n\n            :param number vests: vesting shares\n            :param int voting_power: voting power (100% = 10000)\n            :param int vote_pct: voting percentage (100% = 10000)\n\n        '
    used_power = self._calc_resulting_vote(voting_power=voting_power, vote_pct=vote_pct, use_stored_data=use_stored_data)
    rshares = int(math.copysign((((vests * 1000000.0) * used_power) / CREA_100_PERCENT), vote_pct))
    if subtract_dust_threshold:
        if (abs(rshares) <= self.get_dust_threshold(use_stored_data=use_stored_data)):
            return 0
        rshares -= math.copysign(self.get_dust_threshold(use_stored_data=use_stored_data), vote_pct)
    return rshares