Skip to content

Distribute-fees-buyback to be adapted for V5 #350

@Ivshti

Description

@Ivshti

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions