Author: Ashwin Yardi

  • How to calculate APY for Compound V3 Rewards

    How to calculate APY for Compound V3 Rewards

    Introduction Annual Percentage Yield (APY) is a critical metric for evaluating the returns on investments in DeFi protocols. In Compound V3, calculating the APY for COMP rewards involves understanding the reward rates and their impact on supply and borrow activities. If you want to understand how the rewards system works for Compound V3, please checkout…

  • Compound V3 Rewards explained

    Compound V3 Rewards explained

    Introduction In decentralized finance (DeFi), incentives play a crucial role in driving user participation. Compound, one of the leading DeFi protocols, utilizes COMP token rewards to encourage both lending and borrowing activities. This post delves into how the Compound V3 rewards system works, comparing it with the MasterChef algorithm from yield farming protocols, and providing…

  • Efficient Smart Contract Deployments with EIP-1167

    Efficient Smart Contract Deployments with EIP-1167

    Introduction While I was working on DappFactory, we focused on enhancing the factory architecture used in our smart contracts. Our aim was to make deploying and upgrading smart contracts more flexible. This led us to explore “EIP-1167: Minimal Proxy Standard,” a standard that changed how we handle factory and clone contracts in blockchain. What is…

  • Solidity’s try-catch Syntax: Best Practices for Error Handling with Examples

    Solidity’s try-catch Syntax: Best Practices for Error Handling with Examples

    Introduction When making smart contracts on the Ethereum blockchain, handling errors can be a very important part of the process. Especially when there aren’t many tools available! Solidity v0.6.0’s addition of the try/catch syntax was a big step in the right direction for how errors are handled. These new features build on previous ones, like…

  • Solidity Events: Everything You Need to Know

    Solidity Events: Everything You Need to Know

    Introduction Hello, Web3 folks! If you’ve worked with Solidity before, you know that it’s a powerful language for building decentralised applications on the Ethereum blockchain. But have you ever thought about how smart contracts can talk to things outside of the blockchain? This is where Solidity events come in! Solidity events are an important part…

  • Things You Need to Know About Solidity Libraries

    Things You Need to Know About Solidity Libraries

    Introduction Are you a Solidity developer looking to make your smart contract development process smoother and more efficient? Then boy, do we have the perfect solution for you! Libraries in Solidity are like the awesome sidekick you never knew you needed – they provide powerful tools to simplify and turbocharge your development process. This article…