-
-
Notifications
You must be signed in to change notification settings - Fork 7
Protorev Module and Comsos Tax CLI Support Requirements
- Module Release: Osmosis v15 - source
- Module functionality: To capture MEV opportunities in-protocol, execute cyclic arbitrage opportunities and distribute the revenue back to the protocol based on governance
A company named Skip analyzed the MEV opportunities in Osmosis using tooling developed by community members and came up with a way to do MEV on-chain. This will allow the protocol to take advantage of MEV internally and distribute the profits back to the community.
The way they do this is by:
- Analysing all swap transactions for post-swap multi-hop arbitrage opportunities
- Execute these arbitrage swaps on-chain to make a profit
- Distribute the profit to the community (as well as a share of the profits to the developers of protorev)
The taxable implications of this module are all rewards based.
The developers of the protorev module are paid in weekly rewards, the amount decreasing yearly.
This means we will need to check for the following:
- Protorev rewards are distributed at Epoch on a weekly basis - source
- They are sent from the Protorev Module account to the developer account - source
- They are sent using the Cosmos SDK
bank
moduleSendCoinsFromModuleToAccount
- source - This function calls the
bank
send
keeper functionSendCoins
- source - This function emits
transfer
events which will contain theprotorev
module address as the sender
Using this information, we will be able to check for protorev
developer reward distributions.
I cannot find any information on if/how rewards are distributed to the community. It is my belief that this code has not been implemented yet.
I have looked through all documentation on protorev
, and the only reward distribution discussed is that for the developers of the protorev
module.
I have also looked a bit through the protorev
codebase, and I have only seen reward distribution at Epoch to the developer account.
I could be wrong here, we may want to keep digging or reach out to the Osmosis team to see if this is still in the works.