Sushiswap - Volatile Swapping and Lending
On June 10th, Ethereum begun a descent below 1800. A week later, On June 18 ETH hit 900$ mark, way below the previous cycle's ATH. We will look at the swapping activity on Sushiswap and Lending activity on Kashi, during these volatile times.
We use ethereum_core.ez_dex_swaps
to retrieve Sushiswap data. We will aggregate along the daily timescale, and check how has the volatility of the Market has affected since June 1.
From the above plots:
- Swap volume and USD volume saw tremendous increases.
- Number of users remained fairly constant
- Swap volume, doubled the average at peak
- USD volume on the other hand almost 5x-ed the average at peak.
Kashi is an App built top of BentoBox, hence its data can be aggregated only via tracking Logs emitted by the Kashi contracts. Hence, we will be extensively using ethereum_core.fact_event_logs
to aggregate the data.
Since each Market is isolated, each pair has its own implementation. These implementations can be tracked by getting the LogDeploy
events emitted by the BentoBox contract 0xf5bce5077908a1b7370b9ae04adc565ebd643966
. The cloneAddress
parameter is the implementation contract of the Kashi Market. The data
parameter, when parsed contains information on the Pool Assets, which are of two types, COLLATERAL and ASSET. COLLATERAL is the asset that is provided against which the other asset ASSET is borrowed
Now, there are 6 events in Kashi, that involve asset movement and balance updates. They are :
LogAddCollateral
- Adding COLLATERAL asset to Kashi PairLogAddAsset
- Adding ASSET asset to Kashi PairLogRemoveCollateral
- Removing COLLATERAL asset from Kashi PairLogRemoveAsset
- Removing ASSET asset from Kashi PairLogBorrow
- Borrow ASSET against provided COLLATERALLogRepay
- Repay borrowed ASSET+ interest accrued
Since we are considering only Lending in this dashboard, we will look at only LogAddAsset
and LogRemoveAsset
. LogAddAsset
asset is being added for Lending, while LogRemoveAsset
means, the assets are removed from lending.
We see quite alot of AssetRemoval volume between June 10 and June 18. Its less likely that these were replenished. We see less activity, but tremendous volume.