nipun.eth Profile picture
Head of Tech @stellaxyz_ | Ex-CRO OZT Robotics | SB + MEng @mit | 4 Gold 1 Silver @International Mathematical Olympiad
Sep 12, 2022 β€’ 10 tweets β€’ 4 min read
1/ Just read @paradigm's blog on GOO: @artgobblers & its inflationary token Goo.

Some interesting game theory & neat #MATH tricks just fit together in the design.

Anyways, here's how you can earn the highest Goo emission rate. πŸ§΅πŸ‘‡ 2/ If you don't alr know what Goo is, just read this thread by @_Dave__White_.
Jun 10, 2022 β€’ 10 tweets β€’ 3 min read
1/

I’ve been interested in Zero-Knowledge Proofs (ZKP) for some time, but it’s quite complex and hard to understand.

So, just wanted to share how ZKP works specifically in @TornadoCash magical blackbox.

πŸ§΅πŸ‘‡ Image 2/

Before diving in, let’s start with:

What’s ZKP?

[Wiki] Zero-Knowledge proof (ZKP) is a method for a β€œprover” to prove to another part (β€œverifier”) that a statement is true, without revealing any additional information apart from the fact that the statement is true.
Dec 9, 2021 β€’ 14 tweets β€’ 5 min read
1/ We @AlphaFinanceLab has just launched our new product #AlphaX on @avalancheavax network πŸ’ͺ.

x.alphafinance.io

With the new concept, here's a 🧡 on how #AlphaX actually works πŸ‘‡ 2/ Key components:

1️⃣ LONG & SHORT Strike Tokens
2️⃣ Mint & Redeem
3️⃣ Liquidation
4️⃣ Oracle price
5️⃣ Price peg
6️⃣ Arbitraging
Dec 8, 2021 β€’ 8 tweets β€’ 5 min read
1/ πŸ“’ #AlphaX is now LIVE on @avalancheavax mainnet πŸŽ‰πŸŽ‰πŸŽ‰

βœ… Take Long or Short positions on $AVAX or $WETH with leverage
βœ… High capital efficiency
βœ… Tradeable #StrikeTokens
βœ… Earn high APY from liquidity mining πŸ’°πŸ’°πŸ’°

x.alphafinance.io 2/ πŸ’‘ #AlphaX introduces a new concept of #StrikeTokens.

πŸ“ˆ LONG Strike Tokens: $AVAX-X & $ETH-X
πŸ“‰ SHORT Strike Tokens: $Y-AVAX & $Y-ETH

These tokens are ERC-20 compatible, and can be supplied & traded on @traderjoe_xyz.
Sep 3, 2021 β€’ 8 tweets β€’ 3 min read
1/ β˜€οΈ Gm

πŸ“’ Introducing #AlphaBuyWall (ABW), a smart contract that allows anyone to bid for NFT, and provides a ⌊price floorβŒ‹ for NFT.

2/ Why sell on ABW?

As NFT holder, selling your favorite avatar is a PAIN with existing tools. You will have to set sell price and wait for buyers.

Worst case = you wait for weeks and keep being frontrunned by other sellers. 😒

On ABW you sell via smart contract at any time.
Apr 23, 2021 β€’ 11 tweets β€’ 5 min read
1/ πŸ› πŸ“ πŸ₯ž πŸ†š 2️⃣

🚨 Smart Contract Bug found in Pancake V2 🚨

πŸ›: Pancake new router is incompatible with Pancake LP implementation.

Users may get __revert__ txs upon __swaps__ due to the bug.

Vulnerability was reported to @PancakeSwap team asap.

Thread below πŸ‘‡ 2/ After @PancakeSwap V2 announcement, we have been working on supporting the new V2 pools.

βœ… As with our security standard, we always perform smart contract review and testing, to ensure our users’ safety.

❗️ We have found and informed the @PancakeSwap team on the issue.
Mar 28, 2021 β€’ 18 tweets β€’ 5 min read
1/ πŸ“– Just read @Uniswap v3 whitepaper πŸ¦„ and wanted to share some thoughts.

πŸ‘€ There are some pretty neat tricks in the paper that we @AlphaFinanceLab also use. πŸ‘€

Thread below πŸ‘‡ 2/ Overall, πŸ¦„ V3 is a huge upgrade from and much more complex than V2. V3 introduces:

πŸ‘©β€πŸ’» User Flexibility: Users can supply within a specified price range.
πŸ’» Protocol Flexibility: Configurable swap fee & governance fee
πŸ’‘ Features: Built-in TWAP & liquidity oracle
Dec 18, 2020 β€’ 9 tweets β€’ 7 min read
🚨 1/ The recent @warpfinance hack is the result of using vulnerable @UniswapProtocol πŸ¦„ LP token prices.

The attacker was able to drain ~$7.8M worth of $DAI for smaller collateral.

#AlphaHomoraV2 uses a different LP pricing method that is safe against such attack vector. πŸ‘‡ 2/ The LP token pricing used is prone to the typical flash loan sandwich attack vector:

➑️ Flash loan and skew reserves
➑️ Fake LP price
➑️ Repay flash loan
➑️ Profit

So, how do we price an LP token in an unmanipulatable way?

Answer: **FAIR LP PRICING**
Nov 6, 2020 β€’ 9 tweets β€’ 3 min read
1/ Last week, there has been a number of flash loan-related scenarios (and potential scenarios): @harvest_finance, @MakerDAO, @iearnfinance.

So, here’s a short thread on flash loans. πŸ‘‡ 2/ Flash loan lets anyone borrow a very large amount of assets (as long as the amount + fee are paid back in the same transaction), which can be used to temporarily skew asset prices or balances.