near / core-contracts

Core contracts: reference staking pool, lockup, voting, whitelist, multisig.
322 stars 130 forks source link

Feature request: Pay out rewards to separate address #116

Open Phistr90 opened 3 years ago

Phistr90 commented 3 years ago

Hi,

Due to taxation issues/situations in some jurisdiction it would be very helpful if you could have the option to pay out the staking rewards to a separate address instead of always automatically re-staking them.

evgenykuzyakov commented 3 years ago

This is technically complicated, because we can't automatically unstake the rewards for a given account. But if the account pings the contract, then we can unstake the extra balance from this account.

In theory we can implement a staking pool contract that keeps the rewards fixed without restaking them and rebalanaces it when it's pinged. But it's an extra logic that is not trivial.