You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In V4, earnings were withdrawn automatically through the relayer if over a certain min threshold. In V5, earnings are never withdrawn automatically because they have no expiry - they can be withdrawn at any time.
To adapt it for V5, we should do outpace.withdraw() in the same relayer txn as the Uniswap trade and use the respective total amount. This will be easy since we send the tx through the Identity, which means we can batch multiple calls.
Perhaps it may be easier to implement it via a SC that will be appointed as feeAddr that will claim all it's earnings from OUTPACE and use the total to buy ADX
The text was updated successfully, but these errors were encountered:
In V4, earnings were withdrawn automatically through the relayer if over a certain min threshold. In V5, earnings are never withdrawn automatically because they have no expiry - they can be withdrawn at any time.
To adapt it for V5, we should do
outpace.withdraw()
in the same relayer txn as the Uniswap trade and use the respective total amount. This will be easy since we send the tx through the Identity, which means we can batch multiple calls.Perhaps it may be easier to implement it via a SC that will be appointed as
feeAddr
that will claim all it's earnings from OUTPACE and use the total to buy ADXThe text was updated successfully, but these errors were encountered: