onchainification / smartgarden

🪴 Interoperable Safe modules installable and configurable through the existing Safe UI.
https://smartgarden.onchainification.xyz
4 stars 1 forks source link

introduce threshold for harvesting based on $ value of harvest #21

Open gosuto-inzasheru opened 11 months ago

gosuto-inzasheru commented 11 months ago

eg https://optimistic.etherscan.io/tx/0xae214de5c2daab6c893cbc0231dfdbb5d2f7421d341244611347ab2fedc8b729

(estimated) gas cost needs to be significantly lower than the actual harvest

longterm idea: dont use fixed cadence but introduce ai to determine when is a good time to harvest based on some metrics (gas, gwei, token price?)

While on this improment worth considering allowing per safe user a multi-selection of gauges selected. at the moment is limited to one

petrovska-petro commented 10 months ago

it can be simplified to what we had discussed as a PoC Hook first, labelling also as v0