Blog
The technical content top engineers rely on to level up.
4 min read
Bulkers in Compound V3
The bulker contracts in Compound V3 are multicall-like contracts for batching several transactions.
11 min read
Compound V3 Smart Contract Architecture Explained
How Compound V3 (Comet) works: lending, borrowing against collateral, liquidations, and how its contracts and governance parameter updates fit together.
6 min read
cUSDC V3 (Compound V3) as a non-standard Rebasing Token, CometExt.sol
The Compound V3 contract behaves like a rebasing ERC-20 token. A rebasing token is a token which has an algorithmically adjusted supply rather than a…
7 min read
How Compound V3 Allocates COMP Rewards
Compound issues rewards in COMP tokens to lenders and borrowers in proportion to their share of a market’s lending and borrowing.
8 min read
DeFi Interest Rate Indexes: Principal value and Present Value in Compound V3
The intuitive way to track lender deposits is to record the amount of USDC they deposited and the time they deposited. Compound V3 does not do this.
14 min read
Go Ethereum ethclient Tutorial: Blobs, Tracing, and Signing
Use Geth's ethclient package to work with Ethereum in Go, and make raw JSON-RPC calls where it falls short: tracing, signing, and sending blob transactions.
10 min read
Web3.js Example. Latest version 4.x. Transfer, Mint and Query the Blockchain
The newest version of web3.js, 4.x, has just been unveiled. In this guide, we’ll delve into integrating web3.js into HTML to Transfer, Mint NFTs as well…
5 min read
Solidity Signed Integer
Solidity signed integers enable using negative numbers in a smart contract. This article documents how they are used at the EVM level.
30 min read
How Tornado Cash Works (Line by Line for Devs)
Tornado Cash is a cryptocurrency smart contract mixer that enables users to deposit crypto with one address and withdraw with another wallet without…
4 min read
Low Level Call vs High Level Call in Solidity
A contract in Solidity can call other contracts via two methods: through the contract interface, which is considered a high-level call, or by using the…
9 min read
Uniswap V2: Calculating the Settlement Price of an AMM Swap
This article explains how to determine the price settlement of a trading pair in an Automated Market Maker (AMM).
5 min read
Function Selector in Solidity: How It Is Computed
The function selector is the first 4 bytes of the keccak256 hash of a function signature. See how Solidity computes it, how to get it, and collision odds.