Opening Positions
Q1. Over the last month, what volume of assets are Mean Finance (Polygon) users opening positions with (selling)? What assets are they dollar-cost averaging into (withdrawing swapped assets)? Note any large positions that don’t make sense on Ethereum due to transaction fees.
Mean Finance is the state-of-the-art DCA open protocol that enables users (or dapps) to Dollar Cost Average (DCA) any ERC20 into any ERC20 with their preferred period frequency, without sacrificing decentralization or giving up personal information to any centralized parties. We do all of this by leveraging both Chainlink and Uniswap V3 TWAP oracles.
Dollar-cost averaging is a tool an investor can use to build savings and wealth over a long period while neutralizing the short-term volatility in the market.
The purchases occur regardless of the asset's price and at regular intervals. In effect, this strategy removes much of the detailed work of attempting to time the market in order to make purchases of assets at the best prices.
The protocol is designed in such way that users get protection against volatility, while market makers are well-incentivized to execute the trades:
Source: https://docs.mean.finance/
First we can find Mean Finance contract addresses in docs:
In this case we will use DCA Hub contract address: 0x059d306A25c4cE8D7437D25743a8B94520536BD5
In next step we will find origin_function_signature
for opening position in polygonscan:
So origin_function_signature
for opening position is: 0x6b29e1bd
The last thing we need is origin_function_signature
for withdrawing swapped assets. To find it we can use a transaction hash for withdraw swapped transaction. I have used this: 0xbe28952dd1641754c6bc8a95a8e779448ac18283843e7c75b830adab4ec0c351
finally origin_function_signature
for withdraw swapped asset is: 0x17621890
Let's do some analysis on Polygon data!