nucypher / nucypher-contracts

Ethereum contracts supporting TACo applications on the Threshold Network.
16 stars 11 forks source link

Allow MerkleDistribution contract to trigger withdraw TACoApp rewards #244

Closed cygnusv closed 5 months ago

cygnusv commented 6 months ago

Once we introduce rewards in the TACoApp contract, this will produce a fragmentation of the rewards between other apps (tBTC & RB, currently on the MerkleDistribution contract) and TACo. In order to eliminate this friction from a staker perspective, we should allow the MerkleDistribution contract to trigger withdrawing rewards to the beneficiary (currently, only the beneficiary can call this method in TACoApp).

cygnusv commented 6 months ago

See https://github.com/threshold-network/merkle-distribution/issues/136 for the respective sister issue