BlockChain

337 bookmarks
Custom sorting
TradFi, Meet DeFi: Breaking Down the Economics of DeFi Hacks
TradFi, Meet DeFi: Breaking Down the Economics of DeFi Hacks
Life of a DeFi developer: Say `gm`. Scroll crypto twitter and commiserate about the bear market. Architect new and complex financial and governance systems. Their robustness is so vitally critical
·blog.zellic.io·
TradFi, Meet DeFi: Breaking Down the Economics of DeFi Hacks
Constant Product AMM Math | DeFi
Constant Product AMM Math | DeFi
Math for constant product AMM (automated market maker). 0:00 - Intro 2:38 - Swap - How many tokens to return in a trade? 5:53 - Add liquidity - How many shares to mint? - Answer 6:20 - Add liquidity - Constraints 11:20 - How many shares to mint? 12:54 - How to measure liquidity? 16:04 - Simplify equation for shares to mint 22:05 - Remove liquidity - How many tokens to withdraw? Notes https://github.com/t4sk/notes #Solidity #SmartContract #Ethereum #スマートコントラクト Take a course https://www.smartcontract.engineer/ Follow https://twitter.com/ProgrammerSmart https://discord.gg/bt8FK2wkcW https://t.me/smartcontractprogrammer https://smartcontractprogrammer.com
·youtube.com·
Constant Product AMM Math | DeFi
DeFi Security Lecture 7 —Price Oracle Manipulation
DeFi Security Lecture 7 —Price Oracle Manipulation
On 31st December 2021, Vesper Finance, a yield optimization protocol, tweeted that its №23 lending pool — “Vesper Lend beta” launched on…
·medium.com·
DeFi Security Lecture 7 —Price Oracle Manipulation
Finematics
Finematics
Educational videos on DeFi (Decentralized Finance). Website (extra tutorials) ► http://finematics.com Patreon ► https://www.patreon.com/finematics Follow me on Twitter ►https://twitter.com/finematics Business Inquiries ► https://finematics.com/contact Consultations ► https://finematics.com/consultation/ Donations: Ethereum & ERC20 ► 0x6aFbb9d6438E02fC9d2bf1154c050e35AA8933a7 Bitcoin ► 18ngQa7qzfg9RpstBz3ZCSm2fAzm6tqaa4 Lightning ►https://tippin.me/@finematics Referral links: Brave Browser ► https://brave.com/fin661 (ads-free browsing) Ledger Nano S ► https://shop.ledger.com?r=2af228941155 (hardware wallet for storing crypto) If you like my channel, please subscribe and share with others. Disclaimer. Some of the videos contain affiliate links that help this channel to grow faster. These are always links to trusted websites that offer books (like Amazon) or other services that I myself read/used and can recommend.
·youtube.com·
Finematics
Masamune
Masamune
Search utility for smart contract security findings and audits.
·masamune.app·
Masamune
0xDanki
0xDanki
Blockchain Developer, Security and DeFi Nerd, a Friendly Donkey
·mirror.xyz·
0xDanki
Your Onchain Transaction Feed | Cielo
Your Onchain Transaction Feed | Cielo
Check out recent transactions for wallets you’re following in Cielo. Filter results by chain, tx type, and USD value. The alpha starts here.
·app.cielo.finance·
Your Onchain Transaction Feed | Cielo
Synthetix Staking Rewards Issue - Inefficient Reward Distribution
Synthetix Staking Rewards Issue - Inefficient Reward Distribution

The core of the issue lies in the timing between two critical function calls: notifyRewardAmount(): This function is called to start a new reward period and to set the amount of rewards that will be distributed during this period. stake(): This function is used by stakers to stake their tokens and begin earning rewards. The problem arises when there is a delay (Y) between the execution of notifyRewardAmount() and the first call to stake() in a new reward period. Here’s a step-by-step explanation: Step 1: At block timestamp X, notifyRewardAmount() is called, initiating a new reward period intended to last for 2,592,000 seconds (one month). Step 2: There is a delay of Y seconds before the first stake() call is made. For example, if Y is 1,800 seconds (30 minutes), then no tokens are staked to earn rewards during these 1,800 seconds. Step 3: Because the reward distribution is set to end at X + 2,592,000 seconds (the end of the month from the start time), the rewards that would have been distributed during the initial 1,800 seconds (when no tokens were staked) remain undistributed and are essentially locked in the contract until the next reward period begins. Consequences This delay results in: Underutilization of Rewards: The 1,800 tokens that could have been distributed during the initial delay remain unused. This means less overall distribution of rewards during the period, which is inefficient. Locked Rewards: These undistributed rewards are locked in the contract and do not benefit any stakers. They only become relevant or usable in the next reward cycle, which could potentially lead to discrepancies in reward expectations and planning for stakers.

·0xmacro.com·
Synthetix Staking Rewards Issue - Inefficient Reward Distribution
Zhuo Zhang | Purdue CS | Offside Labs on X: "1/7 📷 Attention Web3 hackers and developers! Ever hit a snag with a (forked) on-chain contract revert while working on PoC for bug bounties, or found yourself puzzled by complex contracts like Uniswap v3? Check out what we're showcasing in the video! https://t.co/pL0KFG3KXv" / X
Zhuo Zhang | Purdue CS | Offside Labs on X: "1/7 📷 Attention Web3 hackers and developers! Ever hit a snag with a (forked) on-chain contract revert while working on PoC for bug bounties, or found yourself puzzled by complex contracts like Uniswap v3? Check out what we're showcasing in the video! https://t.co/pL0KFG3KXv" / X
1/7 📷 Attention Web3 hackers and developers! Ever hit a snag with a (forked) on-chain contract revert while working on PoC for bug bounties, or found yourself puzzled by complex contracts like Uniswap v3? Check out what we're showcasing in the video!https://t.co/pL0KFG3KXv— Zhuo Zhang | Purdue CS | Offside Labs (@i2huer) April 3, 2024
·twitter.com·
Zhuo Zhang | Purdue CS | Offside Labs on X: "1/7 📷 Attention Web3 hackers and developers! Ever hit a snag with a (forked) on-chain contract revert while working on PoC for bug bounties, or found yourself puzzled by complex contracts like Uniswap v3? Check out what we're showcasing in the video! https://t.co/pL0KFG3KXv" / X
Security Incidents
Security Incidents
This list documents exploit with associated amounts exceeding $100K.
·phalcon.blocksec.com·
Security Incidents
kongqp/DeFiTainter
kongqp/DeFiTainter
Contribute to kongqp/DeFiTainter development by creating an account on GitHub.
·github.com·
kongqp/DeFiTainter
Best EVM learning resources based on your level of expertise
Best EVM learning resources based on your level of expertise
If you are a Solidity developer struggling to wrap your head around the Ethereum Virtual Machine (EVM), this one is for YOU. EVM can be a tricky topic to tackle, but it's also an imperative one if you want to excel in the web3 world as a developer. As a
·zaryabs.com·
Best EVM learning resources based on your level of expertise
OffcierCia/DeFi-Developer-Road-Map: DeFi Developer roadmap is a curated Developer handbook which includes a list of the best tools for DApps development, resources and references!
OffcierCia/DeFi-Developer-Road-Map: DeFi Developer roadmap is a curated Developer handbook which includes a list of the best tools for DApps development, resources and references!
DeFi Developer roadmap is a curated Developer handbook which includes a list of the best tools for DApps development, resources and references! - OffcierCia/DeFi-Developer-Road-Map: DeFi Developer...
·github.com·
OffcierCia/DeFi-Developer-Road-Map: DeFi Developer roadmap is a curated Developer handbook which includes a list of the best tools for DApps development, resources and references!