Idle-Finance / best-yield-yearn-strategy

Idle Finance Best Yield Yearn-strategy
GNU Affero General Public License v3.0
1 stars 0 forks source link

opinion: With yswaps, reward selling is now done asynchronously. Claiming could be moved to `adjustPosition`, which is a cheaper operation that can be called more frequently #7

Closed massun-onibakuchi closed 2 years ago

massun-onibakuchi commented 2 years ago

opinion: With yswaps, reward selling is now done asynchronously. Claiming could be moved to adjustPosition, which is a cheaper operation that can be called more frequently https://github.com/Idle-Finance/best-yield-yearn-strategy/blob/f5a6221347286538c5fda84484f5cb5c9b0dfb31/contracts/StrategyIdle.sol#L318-L320

Originally posted by @tonkers-kuma in https://github.com/Idle-Finance/best-yield-yearn-strategy/issues/2#issuecomment-1103230660