Tech Blog
Insights, tutorials, and industry trends from our technology experts
An Animated Tutorial of the MD5 Hash Function
We’ve created an animated explainer that shows how the MD5 hash function works step-by-step. You can see visually what happens at each…
DeFi Lending: Liquidations and Collateral
In TradFi, when someone defaults on a loan, the creditor has the right to seize assets or garnish wages.
Delegatecall: The Detailed and Animated Guide
This article explains how delegatecall works in detail. The Ethereum Virtual Machine (EVM) offers four opcodes for making calls between…
ERC-1363 Standard Explained
ERC-1363 enables a smart contract to detect and respond to an incoming transfer of tokens.
Fixed Point Arithmetic in Solidity (Using Solady, Solmate, and ABDK as Examples)
A fixed-point number is an integer that stores only the numerator of a fraction - while the denominator is implied.
Flash Loans and how to hack them: a walk through of ERC-3156
Flash loans are loans between smart contracts that must be repaid in the same transaction. This article describes the ERC 3156 flash loan…
How ERC721 Enumerable Works
An Enumerable ERC721 is an ERC721 with added functionality that enables a smart contract to list all the NFTs an address owns. This article…
Solidity Coding Standards
The purpose of this article is not to rehash the official Solidity Style Guide, which you should read. Rather, it is to document the common…
The interest rate model of AAVE V3 and Compound V2
Interest rates in TradFi (traditional finance) are largely determined by central banks and influenced by market factors. In contrast, DeFi…
The second preimage attack for Merkle Trees in Solidity
The second preimage attack in Merkle trees can happen when an intermediate node in a merkle tree is presented as a leaf.
The Staking Algorithm of Sushiswap MasterChef and Synthetix
The MasterChef and Synthetix staking algorithms distribute a fixed reward pool among stakers according to their time-weighted contributions…
The Transparent Upgradeable Proxy Pattern Explained in Detail
The Transparent Upgradeable Proxy is a design pattern for upgrading a proxy while eliminating the possibility of a function selector clash.
Three ways to detect if an address is a smart contract
This article describes three methods in Solidity for determining if an address is a smart contract:
Understanding the Function Selector in Solidity
The function selector is a 4 byte id that Solidity uses to identify functions under the hood.
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). It answers the question…
More Content Coming Soon
We're constantly working on new articles, tutorials, and insights. Stay tuned for more cutting-edge content about the latest in technology.
Want to contribute or suggest a topic?
Contact us at enquiry@systrailsolutions.com